snapcraft.yaml 901 B

123456789101112131415161718192021222324252627282930313233
  1. name: tesseract
  2. version: master
  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. grade: devel # must be 'stable' to release into candidate/stable channels
  9. confinement: strict
  10. apps:
  11. tesseract:
  12. command: env TESSDATA_PREFIX=$SNAP_USER_COMMON tesseract
  13. plugs: [home]
  14. parts:
  15. tesseract:
  16. source: .
  17. plugin: autotools
  18. build-packages:
  19. - pkg-config
  20. - libpng12-dev
  21. - libjpeg8-dev
  22. - libtiff5-dev
  23. - zlib1g-dev
  24. - libicu-dev
  25. - libpango1.0-dev
  26. - libcairo2-dev
  27. after: [leptonica]
  28. leptonica:
  29. source: https://github.com/DanBloomberg/leptonica/archive/1.74.2.tar.gz
  30. plugin: autotools
Tip!

Press p or to see the previous file or, n or to see the next file