forked from ports/contrib
26 lines
778 B
Plaintext
26 lines
778 B
Plaintext
# Description: PDF support for zathura using mupdf rendering library
|
|
# URL: https://pwmt.org/projects/zathura-pdf-mupdf
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gumbo-parser jbig2dec mujs mupdf zathura
|
|
|
|
name=zathura-pdf-mupdf
|
|
version=0.4.1
|
|
release=1
|
|
source=(https://git.pwmt.org/pwmt/$name/-/archive/$version/$name-$version.tar.bz2
|
|
0001-Remove-mupdf-linking-detection.patch)
|
|
|
|
build() {
|
|
patch -Np1 -d $name-$version -i $SRC/0001-Remove-mupdf-linking-detection.patch
|
|
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
find $PKG -perm /go+w -exec chmod go-w {} \;
|
|
}
|