snap: add JBIG2 support (#1001)

This patch includes a jbig2enc build into the snap package, allow the
user to run OcrMyPDF with the --jbig2-lossy option or other options that trigger JBIG2 encoding.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
林博仁(Buo-ren, Lin)
2022-08-02 16:35:01 -07:00
committed by GitHub
parent 580822a6a2
commit 165432486b
+7
View File
@@ -41,6 +41,13 @@ parts:
stage-packages:
- lib32stdc++6
jbig2enc:
plugin: autotools
source: https://github.com/agl/jbig2enc.git
source-tag: '0.29'
build-packages:
- libleptonica-dev
ocrmypdf:
plugin: python
source: https://github.com/ocrmypdf/OCRmyPDF.git