fbpdf: fix build

This commit is contained in:
Jürgen Buchmüller 2020-12-26 01:49:03 +01:00
parent 1acf222ef1
commit 2d88aa802a

View file

@ -7,7 +7,7 @@ _gitshort="${_githash:0:7}"
wrksrc="fbpdf-${_gitshort}"
build_style=gnu-makefile
makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel
mupdf-devel"
gumbo-parser-devel mupdf-devel"
short_desc="Small framebuffer PDF/DJVU viewer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
@ -17,7 +17,7 @@ checksum=a86483a3ec144b68b89641abccb848b390ad901732c5e6043e3eb67e0ede7986
pre_build() {
# Can't do it via LDFLAGS, that messes up the linking order
vsed 's/-threads/& -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
vsed 's/-threads/& -lgumbo -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2/' \
-i Makefile
}