pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt4-tiff add a plugin for TIFF support in qt4, thi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f101c33539b
branches:  trunk
changeset: 535571:7f101c33539b
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Thu Nov 22 18:54:47 2007 +0000

description:
add a plugin for TIFF support in qt4, this time using the common libtiff

diffstat:

 x11/qt4-tiff/DESCR    |   1 +
 x11/qt4-tiff/Makefile |  29 +++++++++++++++++++++++++++++
 x11/qt4-tiff/PLIST    |   3 +++
 3 files changed, 33 insertions(+), 0 deletions(-)

diffs (45 lines):

diff -r 4fa64637e1e2 -r 7f101c33539b x11/qt4-tiff/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-tiff/DESCR        Thu Nov 22 18:54:47 2007 +0000
@@ -0,0 +1,1 @@
+
diff -r 4fa64637e1e2 -r 7f101c33539b x11/qt4-tiff/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-tiff/Makefile     Thu Nov 22 18:54:47 2007 +0000
@@ -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 -r 4fa64637e1e2 -r 7f101c33539b x11/qt4-tiff/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-tiff/PLIST        Thu Nov 22 18:54:47 2007 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index