blob: 7cc0fdf8fe7ec617813789807ceef90ceb79707e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=zathura-pdf-mupdf
pkgver=0.3.5
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/zathura-pdf-mupdf/-/archive/$pkgver/zathura-pdf-mupdf-$pkgver.tar.gz
meson-mupdfthird.patch"
options="!check"
build() {
export=LDFLAGS="-ljpeg -lopenjp2 -ljbig2dec"
meson -Dlink-external=true build --prefix=/usr
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="1f7a748fee74296a008cef42c8f2e443409c77e16caa8441f74136260aaac7dee4d3c03e8a88532c45a0f9972e1b4965d4cffd488a00123d4d8cee9bcec2cf30 zathura-pdf-mupdf-0.3.5.tar.gz
f9038cb8ad6f301097a0d8be44847c4a71823f8381889999223d7cc1487bb2431b6b161740ac048c9fcc94c34cb88b673df1e36e34a1fc17a56e9203b5ea4974 meson-mupdfthird.patch"
|