diff options
author | markd <markd@pkgsrc.org> | 2007-12-12 01:29:22 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-12-12 01:29:22 +0000 |
commit | d11072b8e98ff15f7265a8925881b131e2a23112 (patch) | |
tree | a731b9823f5ea3bd2bff1ee7a720529c2389e668 /print/poppler-qt4 | |
parent | 7973e17a57a3b31356a44d8f04f40525fd95723c (diff) | |
download | pkgsrc-d11072b8e98ff15f7265a8925881b131e2a23112.tar.gz |
Initial import of QT4 support library for poppler.
Diffstat (limited to 'print/poppler-qt4')
-rw-r--r-- | print/poppler-qt4/DESCR | 9 | ||||
-rw-r--r-- | print/poppler-qt4/Makefile | 31 | ||||
-rw-r--r-- | print/poppler-qt4/PLIST | 9 | ||||
-rw-r--r-- | print/poppler-qt4/buildlink3.mk | 21 |
4 files changed, 70 insertions, 0 deletions
diff --git a/print/poppler-qt4/DESCR b/print/poppler-qt4/DESCR new file mode 100644 index 00000000000..23c60eb7e24 --- /dev/null +++ b/print/poppler-qt4/DESCR @@ -0,0 +1,9 @@ +This is the QT4 wrapper for poppler, a PDF rendering library. It +is a fork of the xpdf 3.0 PDF viewer developed by Derek Noonburg +of Glyph and Cog, LLC. + +Poppler provides PDF rendering functionality as a shared library, +to centralize the maintenence effort and to reduce duplicated +effort. And the poppler developers would like to move libpoppler +forward in a number of areas that doesn't fit within the goals of +xpdf. diff --git a/print/poppler-qt4/Makefile b/print/poppler-qt4/Makefile new file mode 100644 index 00000000000..69a2d5a9c6f --- /dev/null +++ b/print/poppler-qt4/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/12/12 01:29:22 markd Exp $ +# + +.include "../../print/poppler/Makefile.common" + +PKGNAME= poppler-qt4-${POPPLER_VERS} + +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 + +PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt4.pc.in + +INSTALLATION_DIRS+= lib include/poppler lib/pkgconfig + +BUILD_DIRS= ${WRKSRC}/qt4/src + +post-install: + ${INSTALL_DATA} ${WRKSRC}/poppler-qt4.pc ${DESTDIR}${PREFIX}/lib/pkgconfig + +BUILDLINK_API_DEPENDS.poppler+= poppler>=${POPPLER_VERS} +.include "../../print/poppler/buildlink3.mk" +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/poppler-qt4/PLIST b/print/poppler-qt4/PLIST new file mode 100644 index 00000000000..4784f74d1e4 --- /dev/null +++ b/print/poppler-qt4/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/12/12 01:29:22 markd Exp $ +include/poppler/qt4/poppler-annotation.h +include/poppler/qt4/poppler-form.h +include/poppler/qt4/poppler-link.h +include/poppler/qt4/poppler-page-transition.h +include/poppler/qt4/poppler-qt4.h +lib/libpoppler-qt4.la +lib/pkgconfig/poppler-qt4.pc +@dirrm include/poppler/qt4 diff --git a/print/poppler-qt4/buildlink3.mk b/print/poppler-qt4/buildlink3.mk new file mode 100644 index 00000000000..825de32eea8 --- /dev/null +++ b/print/poppler-qt4/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/12/12 01:29:22 markd Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +POPPLER_QT4_BUILDLINK3_MK:= ${POPPLER_QT4_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= poppler-qt4 +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler-qt4} +BUILDLINK_PACKAGES+= poppler-qt4 +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}poppler-qt4 + +.if ${POPPLER_QT4_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.poppler-qt4+= poppler-qt4>=0.6.1 +BUILDLINK_PKGSRCDIR.poppler-qt4?= ../../print/poppler-qt4 +.endif # POPPLER_QT4_BUILDLINK3_MK + +.include "../../print/poppler/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |