diff --git a/srcpkgs/fbpdf/patches/mupdf-1.10.patch b/srcpkgs/fbpdf/patches/mupdf-1.10.patch deleted file mode 100644 index 298b37f3a7..0000000000 --- a/srcpkgs/fbpdf/patches/mupdf-1.10.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- mupdf.c.orig -+++ mupdf.c -@@ -33,10 +33,10 @@ - w = rect.x1 - rect.x0; - h = rect.y1 - rect.y0; - -- pix = fz_new_pixmap_with_bbox(doc->ctx, fz_device_rgb(doc->ctx), &bbox); -+ pix = fz_new_pixmap_with_bbox(doc->ctx, fz_device_rgb(doc->ctx), &bbox, 1); - fz_clear_pixmap_with_value(doc->ctx, pix, 0xff); - -- dev = fz_new_draw_device(doc->ctx, pix); -+ dev = fz_new_draw_device(doc->ctx, NULL, pix); - fz_run_page(doc->ctx, page, dev, &ctm, NULL); - fz_drop_device(doc->ctx, dev); - diff --git a/srcpkgs/fbpdf/template b/srcpkgs/fbpdf/template index 8546e066c0..a421fa60b9 100644 --- a/srcpkgs/fbpdf/template +++ b/srcpkgs/fbpdf/template @@ -1,20 +1,18 @@ # Template file for 'fbpdf' pkgname=fbpdf -version=0.0.20160408 -revision=3 -wrksrc="fbpdf-43ca240" +version=0.0.20161202 +revision=1 +wrksrc="fbpdf-e31a61b" build_style=gnu-makefile -makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel mupdf-devel" +makedepends="djvulibre-devel freetype-devel harfbuzz-devel libressl-devel + mupdf-devel" short_desc="Small framebuffer PDF/DJVU viewer" -maintainer="Christian Neukirchen " -license="BSD" +maintainer="Leah Neukirchen " +license="ISC" homepage="http://repo.or.cz/w/fbpdf.git" -distfiles="http://repo.or.cz/fbpdf.git/snapshot/43ca240b0b92a160f724441278e969aef226b31c.tar.gz" -checksum=75ba53a14f132b42ce6020315c0af20293aa8e5327eecf110afadc6f1767c1a2 - -post_extract() { - sed -i 's/lopenjpeg/lopenjp2 -lharfbuzz/g' Makefile -} +distfiles="http://repo.or.cz/fbpdf.git/snapshot/e31a61bb7c00395817fc8b06c907398cf97e73f8.tar.gz" +checksum=4ba342d63e49558a19810fb905b67aa9dee5372c9f223b30fef35c2d6a67802b +LDFLAGS="-lmupdf -lfreetype -lopenjp2 -lharfbuzz -ljbig2dec -lz" do_install() { vbin fbpdf