mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
fix(ocrmypdf)
This commit is contained in:
parent
3af88ee28e
commit
9c772fe541
1 changed files with 16 additions and 11 deletions
|
@ -5,26 +5,31 @@ distributable:
|
||||||
versions:
|
versions:
|
||||||
github: ocrmypdf/OCRmyPDF
|
github: ocrmypdf/OCRmyPDF
|
||||||
|
|
||||||
platforms:
|
# platforms:
|
||||||
- darwin
|
# - darwin
|
||||||
- linux/x86-64
|
# - linux/x86-64
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ~3.11
|
python.org: ~3.11
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |
|
dependencies:
|
||||||
python-venv.sh {{prefix}}/bin/ocrmypdf
|
openjpeg.org: '*'
|
||||||
|
qpdf.sourceforge.io: '*'
|
||||||
|
gnome.org/libxml2: ~2.11
|
||||||
|
gnome.org/libxslt: '*'
|
||||||
|
script:
|
||||||
|
- python-venv.sh {{prefix}}/bin/ocrmypdf
|
||||||
|
- source <("{{prefix}}"/venv/bin/activate)
|
||||||
|
# pikepdf libs are compiled for MACOSX_DEPLOYMENT_TARGET=12.0
|
||||||
|
- 'pip install --no-cache-dir --force-reinstall --no-binary :all: pikepdf'
|
||||||
env:
|
env:
|
||||||
# add any environment variables here
|
# add any environment variables here
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/ocrmypdf
|
- bin/ocrmypdf
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script: test "$(ocrmypdf --version)" = {{version}}
|
||||||
test "$(ocrmypdf --version)" = {{version}}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue