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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user