diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 64585c6b..4ca9f402 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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