fbpdf: update to 0.0.20200616.

This commit is contained in:
Anthony Iliopoulos 2020-10-04 11:18:02 +02:00 committed by Érico Nogueira Rolim
parent d460f1c4fb
commit ba59b46069
1 changed files with 9 additions and 7 deletions

View File

@ -1,27 +1,29 @@
# Template file for 'fbpdf'
pkgname=fbpdf
version=0.0.20181018
version=0.0.20200616
revision=1
wrksrc=fbpdf-dfe9f00
_githash=f59002487edba502aaa93e9aec3bb6ebbbe41b0e
_gitshort="${_githash:0:7}"
wrksrc="fbpdf-${_gitshort}"
build_style=gnu-makefile
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel
mupdf-devel"
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/dfe9f0067549f759cdc04f2f62b4f89cd6e1b199.tar.gz"
checksum=f2ff9b9f4679963d091650ad55083af65abab26e57906618cd76d23326ff825a
homepage="https://repo.or.cz/w/fbpdf.git"
distfiles="https://repo.or.cz/fbpdf.git/snapshot/${_githash}.tar.gz"
checksum=a86483a3ec144b68b89641abccb848b390ad901732c5e6043e3eb67e0ede7986
pre_build() {
# Can't do it via LDFLAGS, that messes up the linking order
sed 's/-threads/& -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
vsed 's/-threads/& -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
-i Makefile
}
do_install() {
vbin fbpdf
vbin fbdjvu
vdoc README # no manpage
vman fbpdf.1
vlicense LICENSE
}