mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +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
|
grade: stable # must be 'stable' to release into candidate/stable channels
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
base: core22
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
tesseract:
|
tesseract:
|
||||||
command: >
|
command: usr/local/bin/tesseract
|
||||||
env
|
environment:
|
||||||
TESSDATA_PREFIX=$SNAP_USER_COMMON
|
TESSDATA_PREFIX: $SNAP_USER_COMMON
|
||||||
tesseract
|
|
||||||
plugs:
|
plugs:
|
||||||
- home
|
- home
|
||||||
- removable-media
|
- removable-media
|
||||||
@ -30,9 +30,9 @@ parts:
|
|||||||
plugin: autotools
|
plugin: autotools
|
||||||
build-packages:
|
build-packages:
|
||||||
- pkg-config
|
- pkg-config
|
||||||
- libpng12-dev
|
- libpng-dev
|
||||||
- libjpeg8-dev
|
- libjpeg-dev
|
||||||
- libtiff5-dev
|
- libtiff-dev
|
||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
- libicu-dev
|
- libicu-dev
|
||||||
- libpango1.0-dev
|
- libpango1.0-dev
|
||||||
|
Loading…
Reference in New Issue
Block a user