diff options
author | markd <markd@pkgsrc.org> | 2005-12-11 10:07:31 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2005-12-11 10:07:31 +0000 |
commit | 3baac5935d5367a974c276fb3f26e6ae2c988612 (patch) | |
tree | 6fb0b7cef62c0c0a34dd2e57f58fcf9b17786a9e /print/poppler-qt | |
parent | 6700aac0f959782ed50254d9b8699300c6a39f72 (diff) | |
download | pkgsrc-3baac5935d5367a974c276fb3f26e6ae2c988612.tar.gz |
Initial import of poppler-qt-0.4.2.
This is the QT wrapper for poppler, a PDF rendering library.
Diffstat (limited to 'print/poppler-qt')
-rw-r--r-- | print/poppler-qt/DESCR | 9 | ||||
-rw-r--r-- | print/poppler-qt/Makefile | 40 | ||||
-rw-r--r-- | print/poppler-qt/PLIST | 4 | ||||
-rw-r--r-- | print/poppler-qt/buildlink3.mk | 20 | ||||
-rw-r--r-- | print/poppler-qt/distinfo | 5 |
5 files changed, 78 insertions, 0 deletions
diff --git a/print/poppler-qt/DESCR b/print/poppler-qt/DESCR new file mode 100644 index 00000000000..6b70729182d --- /dev/null +++ b/print/poppler-qt/DESCR @@ -0,0 +1,9 @@ +This is the QT 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-qt/Makefile b/print/poppler-qt/Makefile new file mode 100644 index 00000000000..f6a41e9bcf8 --- /dev/null +++ b/print/poppler-qt/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/12/11 10:07:31 markd Exp $ +# + +DISTNAME= poppler-${POPPLER_VERS} +PKGNAME= poppler-qt-${POPPLER_VERS} +CATEGORIES= print +MASTER_SITES= http://poppler.freedesktop.org/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://poppler.freedesktop.org/ +COMMENT= PDF rendering library (QT wrapper) + +USE_TOOLS+= pkg-config +USE_LIBTOOL= yes +PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt.pc.in + +INCS=-I. `pkg-config poppler --cflags` -I${QTDIR}/include +POPPLER_VERS=0.4.2 + +do-build: + (cd ${WRKSRC}/qt; \ + ${LIBTOOL} --tag=CXX --mode=compile ${CXX} ${CXXFLAGS} ${INCS} -c -o poppler-document.lo poppler-document.cc; \ + ${LIBTOOL} --tag=CXX --mode=compile ${CXX} ${CXXFLAGS} ${INCS} -c -o poppler-page.lo poppler-page.cc; \ + ${LIBTOOL} --tag=CXX --mode=link ${CXX} ${LDFLAGS} `pkg-config poppler --libs` -L${QTDIR}/lib ${COMPILER_RPATH_FLAG}${QTDIR}/lib -o libpoppler-qt.la -rpath ${PREFIX}/lib poppler-document.lo poppler-page.lo -lqt-mt ) + ${SED} -e s:@VERSION@:${POPPLER_VERS}: \ + -e s:@prefix@:${PREFIX}: \ + -e 's:@exec_prefix@:$${prefix}:' \ + -e 's:@libdir@:$${exec_prefix}/lib:' \ + -e 's:@includedir@:$${prefix}/include:' \ + ${WRKSRC}/poppler-qt.pc.in > ${WRKSRC}/poppler-qt.pc + +do-install: + ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/qt/libpoppler-qt.la ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/qt/poppler-qt.h ${PREFIX}/include/poppler + ${INSTALL_DATA} ${WRKSRC}/poppler-qt.pc ${PREFIX}/lib/pkgconfig + +.include "../../print/poppler/buildlink3.mk" +.include "../../x11/qt3-libs/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/poppler-qt/PLIST b/print/poppler-qt/PLIST new file mode 100644 index 00000000000..cd178df992b --- /dev/null +++ b/print/poppler-qt/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/11 10:07:31 markd Exp $ +include/poppler/poppler-qt.h +lib/libpoppler-qt.la +lib/pkgconfig/poppler-qt.pc diff --git a/print/poppler-qt/buildlink3.mk b/print/poppler-qt/buildlink3.mk new file mode 100644 index 00000000000..bbc42919361 --- /dev/null +++ b/print/poppler-qt/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/12/11 10:07:31 markd Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +POPPLER_QT_BUILDLINK3_MK:= ${POPPLER_QT_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= poppler-qt +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler-qt} +BUILDLINK_PACKAGES+= poppler-qt + +.if !empty(POPPLER_QT_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.poppler-qt+= poppler-qt>=0.4.2 +BUILDLINK_PKGSRCDIR.poppler-qt?= ../../print/poppler-qt +.endif # POPPLER_QT_BUILDLINK3_MK + +.include "../../print/poppler/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/print/poppler-qt/distinfo b/print/poppler-qt/distinfo new file mode 100644 index 00000000000..b44ca2853de --- /dev/null +++ b/print/poppler-qt/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/12/11 10:07:31 markd Exp $ + +SHA1 (poppler-0.4.2.tar.gz) = fa1dec65f0df87f9348441563593915344caf9be +RMD160 (poppler-0.4.2.tar.gz) = e81a8d900c4f3ca51b09ebec8f0ca62b0165d3a3 +Size (poppler-0.4.2.tar.gz) = 777935 bytes |