mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+mupdf (#4126)
* +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:
parent
4ade937bdd
commit
8c8fc7dbfc
47
projects/mupdf.com/package.yml
Normal file
47
projects/mupdf.com/package.yml
Normal 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
BIN
projects/mupdf.com/test.pdf
Normal file
Binary file not shown.
Loading…
Reference in a new issue