Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/tesseract/snap/snapcraft.yaml @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 name: tesseract | |
| 2 version: git | |
| 3 summary: open source optical character recognition engine | |
| 4 description: | | |
| 5 Tesseract has unicode (UTF-8) support, and can recognize more than 100 | |
| 6 languages "out of the box". It can be trained to recognize other languages. | |
| 7 Tesseract supports various output formats: plain-text, hocr(html), pdf. | |
| 8 | |
| 9 If you want to access the files under /media/* or /run/media/* you'll have | |
| 10 to connect the snap to the `core` snap's `removable-media` interface: | |
| 11 | |
| 12 $ sudo snap connect tesseract:removable-media | |
| 13 | |
| 14 grade: stable # must be 'stable' to release into candidate/stable channels | |
| 15 confinement: strict | |
| 16 base: core22 | |
| 17 | |
| 18 apps: | |
| 19 tesseract: | |
| 20 command: usr/local/bin/tesseract | |
| 21 environment: | |
| 22 TESSDATA_PREFIX: $SNAP_USER_COMMON | |
| 23 plugs: | |
| 24 - home | |
| 25 - removable-media | |
| 26 | |
| 27 parts: | |
| 28 tesseract: | |
| 29 source: . | |
| 30 plugin: autotools | |
| 31 build-packages: | |
| 32 - pkg-config | |
| 33 - libpng-dev | |
| 34 - libjpeg-dev | |
| 35 - libtiff-dev | |
| 36 - zlib1g-dev | |
| 37 - libicu-dev | |
| 38 - libpango1.0-dev | |
| 39 - libcairo2-dev | |
| 40 stage-packages: | |
| 41 - libgomp1 | |
| 42 after: [leptonica] | |
| 43 leptonica: | |
| 44 source: https://github.com/DanBloomberg/leptonica/archive/1.83.1.tar.gz | |
| 45 plugin: autotools | |
| 46 stage-packages: | |
| 47 - libjbig0 | |
| 48 - libjpeg-turbo8 | |
| 49 - libopenjp2-7 | |
| 50 - libtiff5 |
