* +mupdf

mupdf.com

* +mupdf.com

* Update projects/mupdf.com/package.yml

Co-authored-by: Markus Zoppelt <markus@zoppelt.net>

* Update package.yml

* Update package.yml

darwin  test passed

* Update package.yml

darwin  test

* Update package.yml

* Update package.yml

* fix build

* remove runtime '*' deps; add openssl^1.1

* fix and extend tests

* and add test file

---------

Co-authored-by: Markus Zoppelt <markus@zoppelt.net>
Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
Vc 2023-11-21 03:00:09 +08:00 committed by GitHub
parent 4ade937bdd
commit 8c8fc7dbfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,47 @@
distributable:
url: git+https://github.com/ArtifexSoftware/mupdf
ref: ${{version}}
versions:
github: ArtifexSoftware/mupdf/tags
dependencies:
zlib.net: ^1
openssl.org: ^1.1
info-zip.org/unzip: ^6
linux:
freeglut.sourceforge.io: ^3
freedesktop.org/mesa-glu: ^9
x.org/protocol: '>=2022'
x.org/x11: ^1
x.org/xcursor: ^1
x.org/xinerama: ^1
x.org/xrandr: ^1
mesa3d.org: ^23
gnome.org/glib: ^2
x.org/xtrans: ^1
build:
dependencies:
git-scm.org: '*'
script:
- git submodule update --init --recursive
- make prefix={{prefix}} install
- run: ln -s mutool mudraw
working-directory: ${{prefix}}/bin
env:
CC: clang
CXX: clang++
LD: clang
AS: llvm-as
provides:
- bin/mupdf-gl
- bin/muraster
- bin/mutool
test:
script:
# - mupdf-gl -v | grep {{version}}
- (muraster -v 2>&1 || true) | grep {{version}}
- mudraw -F txt test.pdf | grep 'pkgx test'

BIN
projects/mupdf.com/test.pdf Normal file

Binary file not shown.