mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
fix: Fix snap package building
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) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
parent
71af454299
commit
7b05f9478e
@ -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
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user