From 9c772fe5416df76d7907cc0dcfbd3226ed202fa8 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 20 Dec 2023 17:22:04 -0500 Subject: [PATCH] fix(ocrmypdf) --- .../github.com/ocrmypdf/OCRmyPDF/package.yml | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/projects/github.com/ocrmypdf/OCRmyPDF/package.yml b/projects/github.com/ocrmypdf/OCRmyPDF/package.yml index 8d7b801c..482b16d1 100644 --- a/projects/github.com/ocrmypdf/OCRmyPDF/package.yml +++ b/projects/github.com/ocrmypdf/OCRmyPDF/package.yml @@ -3,28 +3,33 @@ distributable: strip-components: 1 versions: - github: ocrmypdf/OCRmyPDF - -platforms: - - darwin - - linux/x86-64 + github: ocrmypdf/OCRmyPDF + +# platforms: +# - darwin +# - linux/x86-64 dependencies: python.org: ~3.11 build: - script: | - python-venv.sh {{prefix}}/bin/ocrmypdf + dependencies: + 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: # add any environment variables here ARGS: - --prefix="{{prefix}}" - provides: - bin/ocrmypdf test: - script: - test "$(ocrmypdf --version)" = {{version}} - \ No newline at end of file + script: test "$(ocrmypdf --version)" = {{version}}