Skip to content

Commit

Permalink
fix: Fix snap package building
Browse files Browse the repository at this point in the history
This patch fixes the outdated snap package recipe to make the snap
buildable with the current Snapcraft release(7.3.1).

Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
  • Loading branch information
brlin-tw authored and stweil committed Apr 3, 2023
1 parent 71af454 commit 7b05f94
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ description: |
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core22

apps:
tesseract:
command: >
env
TESSDATA_PREFIX=$SNAP_USER_COMMON
tesseract
command: usr/local/bin/tesseract
environment:
TESSDATA_PREFIX: $SNAP_USER_COMMON
plugs:
- home
- removable-media
Expand All @@ -30,9 +30,9 @@ parts:
plugin: autotools
build-packages:
- pkg-config
- libpng12-dev
- libjpeg8-dev
- libtiff5-dev
- libpng-dev
- libjpeg-dev
- libtiff-dev
- zlib1g-dev
- libicu-dev
- libpango1.0-dev
Expand Down

0 comments on commit 7b05f94

Please sign in to comment.