diff options
author | drochner <drochner@pkgsrc.org> | 2007-11-22 18:54:47 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-11-22 18:54:47 +0000 |
commit | e819d48998920cf82930be3c2286b5dcdec8c4f6 (patch) | |
tree | ec1962b9f60dbae0401ad0b7e261e3ec8861996e /x11/qt4-tiff | |
parent | 14a329285822d3dc25193aeaa67b66750c811bc6 (diff) | |
download | pkgsrc-e819d48998920cf82930be3c2286b5dcdec8c4f6.tar.gz |
add a plugin for TIFF support in qt4, this time using the common libtiff
Diffstat (limited to 'x11/qt4-tiff')
-rw-r--r-- | x11/qt4-tiff/DESCR | 1 | ||||
-rw-r--r-- | x11/qt4-tiff/Makefile | 29 | ||||
-rw-r--r-- | x11/qt4-tiff/PLIST | 3 |
3 files changed, 33 insertions, 0 deletions
diff --git a/x11/qt4-tiff/DESCR b/x11/qt4-tiff/DESCR new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/x11/qt4-tiff/DESCR @@ -0,0 +1 @@ + diff --git a/x11/qt4-tiff/Makefile b/x11/qt4-tiff/Makefile new file mode 100644 index 00000000000..3482a8af83e --- /dev/null +++ b/x11/qt4-tiff/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/11/22 18:54:47 drochner Exp $ + +.include "../../x11/qt4-libs/Makefile.common" + +PKGNAME= qt4-tiff-${QTVERSION} +COMMENT= QT TIFF image format plugin + +CONFIGURE_ARGS+= -I${QTDIR}/include +CONFIGURE_ARGS+= -L${QTDIR}/lib + +BUILD_QT4= yes + +do-build: + cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} + cd ${WRKSRC}/src/plugins/imageformats/tiff && env ${MAKE_ENV} ${GMAKE} + +IMGFMTDIR= ${QTPREFIX}/plugins/imageformats + +do-install: + ${INSTALL_DATA_DIR} ${IMGFMTDIR} + ${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/imageformats/libqtiff.la \ + ${IMGFMTDIR} + +# up to 4.3.2 a builtin libtiff is used +BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.3.2nb1 +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../graphics/tiff/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/qt4-tiff/PLIST b/x11/qt4-tiff/PLIST new file mode 100644 index 00000000000..4595d2ec1b5 --- /dev/null +++ b/x11/qt4-tiff/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/22 18:54:47 drochner Exp $ +qt4/plugins/imageformats/libqtiff.la +@unexec ${RMDIR} %D/qt4/plugins/imageformats 2>/dev/null || ${TRUE} |