fbpdf: update to 0.0.20181018.

Required for for mupdf 1.14.0
This commit is contained in:
Rasmus Thomsen 2019-01-05 19:32:48 +01:00 committed by maxice8
parent 588e33c0c5
commit 5f4dcf221d

View file

@ -1,8 +1,8 @@
# Template file for 'fbpdf'
pkgname=fbpdf
version=0.0.20161202
revision=4
wrksrc="fbpdf-e31a61b"
version=0.0.20181018
revision=1
wrksrc=fbpdf-dfe9f00
build_style=gnu-makefile
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel
mupdf-devel"
@ -10,13 +10,18 @@ short_desc="Small framebuffer PDF/DJVU viewer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://repo.or.cz/w/fbpdf.git"
distfiles="http://repo.or.cz/fbpdf.git/snapshot/e31a61bb7c00395817fc8b06c907398cf97e73f8.tar.gz"
checksum=4ba342d63e49558a19810fb905b67aa9dee5372c9f223b30fef35c2d6a67802b
LDFLAGS="-lmupdf -lfreetype -lopenjp2 -lharfbuzz -ljbig2dec -lz"
distfiles="http://repo.or.cz/fbpdf.git/snapshot/dfe9f0067549f759cdc04f2f62b4f89cd6e1b199.tar.gz"
checksum=f2ff9b9f4679963d091650ad55083af65abab26e57906618cd76d23326ff825a
pre_build() {
# Can't do it via LDFLAGS, that messes up the linking order
sed 's/-threads/& -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
-i Makefile
}
do_install() {
vbin fbpdf
vbin fbdjvu
vdoc README # no manpage
vdoc README # no manpage
vlicense LICENSE
}