diff options
author | Milan P. Stanić <mps@arvanta.net> | 2019-05-04 15:51:26 +0000 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2019-05-04 17:57:58 +0200 |
commit | 2180bb9bd845a7b9db60321f6788d484ee0b6e12 (patch) | |
tree | 35b5404b8e5d218076aacba64ae7cdfb6283386e | |
parent | b1dc52326cd7b90efb2464d26d6533d12c9ee257 (diff) | |
download | aports-2180bb9bd845a7b9db60321f6788d484ee0b6e12.tar.bz2 aports-2180bb9bd845a7b9db60321f6788d484ee0b6e12.tar.xz |
testing/zathura-pdf-mupdf: new aport
Zathura MuPDF backend/plugin
-rw-r--r-- | testing/zathura-pdf-mupdf/APKBUILD | 32 | ||||
-rw-r--r-- | testing/zathura-pdf-mupdf/meson-mupdfthird.patch | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/zathura-pdf-mupdf/APKBUILD b/testing/zathura-pdf-mupdf/APKBUILD new file mode 100644 index 0000000000..07d2362e6a --- /dev/null +++ b/testing/zathura-pdf-mupdf/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Milan P. Stanić <mps@arvanta.net> +# Maintainer: Milan P. Stanić <mps@arvanta.net> +pkgname=zathura-pdf-mupdf +pkgver=0.3.4 +pkgrel=0 +pkgdesc="mupdf plugin to zathura" +url="https://git.pwmt.org/pwmt/zathura-pdf-mupdf" +arch="all" +license="zlib" +makedepends="meson ninja mupdf-dev zathura-dev girara-dev openssl-dev openjpeg-dev libjpeg-turbo-dev jbig2dec-dev" +depends="zathura !zathura-pdf-poppler" +source="https://git.pwmt.org/pwmt/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz + meson-mupdfthird.patch" + +options="!check" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + export=LDFLAGS="-ljpeg -lopenjp2 -ljbig2dec" + meson -Dlink-external=true build --prefix=/usr + ninja -C build +} + +package() { + cd "$builddir" + DESTDIR="$pkgdir" ninja -C build install +} + +sha512sums="dd4e0012dbedc21bb0ca5d2c552d44b8292554bc055bc811e7d1705894f17f7ff4920e74be9c2f546d36987572aa375fe96390ba66e0f69edbdeb00b3cb31c11 zathura-pdf-mupdf-0.3.4.tar.gz +f9038cb8ad6f301097a0d8be44847c4a71823f8381889999223d7cc1487bb2431b6b161740ac048c9fcc94c34cb88b673df1e36e34a1fc17a56e9203b5ea4974 meson-mupdfthird.patch" diff --git a/testing/zathura-pdf-mupdf/meson-mupdfthird.patch b/testing/zathura-pdf-mupdf/meson-mupdfthird.patch new file mode 100644 index 0000000000..f9551171fa --- /dev/null +++ b/testing/zathura-pdf-mupdf/meson-mupdfthird.patch @@ -0,0 +1,11 @@ +--- a/meson.build 2018-10-04 19:21:03.000000000 +0200 ++++ b/meson.build 2019-04-27 23:32:18.946186871 +0200 +@@ -20,7 +20,7 @@ + glib = dependency('glib-2.0') + cairo = dependency('cairo') + mupdf = cc.find_library('mupdf') +-mupdfthird = cc.find_library('mupdf-third') ++mupdfthird = cc.find_library('mupdfthird') + + build_dependencies = [ + zathura, |