Skip to content

Commit

Permalink
snap: add JBIG2 support (#1001)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
brlin-tw committed Aug 2, 2022
1 parent 580822a commit 1654324
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1654324

Please sign in to comment.