summaryrefslogtreecommitdiff
path: root/print/poppler-qt4
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2008-10-30 11:33:06 +0000
committermarkd <markd@pkgsrc.org>2008-10-30 11:33:06 +0000
commit3527c511f39aff67faf58c4317fca1f6d3a87bdf (patch)
tree485429dfa778c3fea00a02daa91708a12ae83abb /print/poppler-qt4
parent92d8c12d8e733ceb48e2d68bd0c416c8e56a2fe6 (diff)
downloadpkgsrc-3527c511f39aff67faf58c4317fca1f6d3a87bdf.tar.gz
poppler-qt4 needs splash-output enabled or Page::renderToImage does
nothing. Fixes problem with rendering pdf documents in Okular. Identified by Sverre Froyen.
Diffstat (limited to 'print/poppler-qt4')
-rw-r--r--print/poppler-qt4/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/print/poppler-qt4/Makefile b/print/poppler-qt4/Makefile
index 2ba7d609ca2..7033932fe97 100644
--- a/print/poppler-qt4/Makefile
+++ b/print/poppler-qt4/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.3 2008/06/05 21:04:20 drochner Exp $
+# $NetBSD: Makefile,v 1.4 2008/10/30 11:33:06 markd Exp $
#
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-qt4-${POPPLER_VERS}
+PKGREVISION= 1
COMMENT= PDF rendering library (QT4 wrapper)
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-cairo-output
-CONFIGURE_ARGS+= --disable-splash-output
CONFIGURE_ARGS+= --enable-poppler-qt4
CONFIGURE_ARGS+= --disable-gtk-test
CONFIGURE_ARGS+= --disable-utils
@@ -20,6 +20,9 @@ INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig
BUILD_DIRS= qt4/src
+pre-build:
+ (cd ${WRKSRC}/poppler; ${MAKE} libpoppler-arthur.la)
+
post-install:
${INSTALL_DATA} ${WRKSRC}/poppler-qt4.pc ${DESTDIR}${PREFIX}/lib/pkgconfig