Align cut options with PT-P700 capabilities

This commit is contained in:
Mikei386
2026-06-22 11:56:27 +02:00
parent b26b9fe123
commit 941c68bbf8
9 changed files with 24 additions and 139 deletions
+1 -3
View File
@@ -2,10 +2,8 @@ FROM alpine:3.20 AS ptouch-build
RUN apk add --no-cache build-base cmake gd-dev gettext-dev git libusb-dev pkgconf
RUN git clone --depth 1 --branch farix-main https://github.com/farixembedded/ptouch-print.git /src/ptouch
COPY patches/ptouch-print-cut-options.patch /tmp/ptouch-print-cut-options.patch
WORKDIR /src/ptouch
RUN patch -p1 < /tmp/ptouch-print-cut-options.patch \
&& cmake -S . -B build -DCMAKE_BUILD_TYPE=Release \
RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release \
&& cmake --build build \
&& install -m 0755 build/ptouch-print /usr/local/bin/ptouch-print