pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt4-qdbus Initial import of QT4 DBus support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ccdc3863c235
branches: trunk
changeset: 536213:ccdc3863c235
user: markd <markd%pkgsrc.org@localhost>
date: Thu Dec 06 11:28:09 2007 +0000
description:
Initial import of QT4 DBus support.
Building as a separate package means that assistant doesn't have DBus
support built in but I don't think thats a problem.
diffstat:
x11/qt4-qdbus/DESCR | 1 +
x11/qt4-qdbus/Makefile | 36 ++++++++++++++++++++++++++++++++++++
x11/qt4-qdbus/PLIST | 38 ++++++++++++++++++++++++++++++++++++++
x11/qt4-qdbus/buildlink3.mk | 22 ++++++++++++++++++++++
4 files changed, 97 insertions(+), 0 deletions(-)
diffs (113 lines):
diff -r 613595c58a1a -r ccdc3863c235 x11/qt4-qdbus/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-qdbus/DESCR Thu Dec 06 11:28:09 2007 +0000
@@ -0,0 +1,1 @@
+QT4 DBus support
diff -r 613595c58a1a -r ccdc3863c235 x11/qt4-qdbus/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-qdbus/Makefile Thu Dec 06 11:28:09 2007 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/12/06 11:28:09 markd Exp $
+
+.include "../../x11/qt4-libs/Makefile.common"
+
+PKGNAME= qt4-qdbus-${QTVERSION}
+COMMENT= QT DBus support
+
+CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
+CONFIGURE_ARGS+= -qdbus
+
+BUILD_QT4= yes
+
+post-configure:
+ ln -s ${QTPREFIX}/bin/moc ${WRKSRC}/bin/moc
+ ln -s ${QTPREFIX}/bin/uic ${WRKSRC}/bin/uic
+ ln -s ${QTPREFIX}/bin/rcc ${WRKSRC}/bin/rcc
+
+do-build:
+ cd ${WRKSRC}/tools/qdbus && env ${MAKE_ENV} ${GMAKE}
+
+do-install:
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libQtDBus.la \
+ ${QTPREFIX}/lib/
+ ${SED} -e "s:${WRKSRC}:${QTPREFIX}:g" \
+ ${WRKSRC}/lib/pkgconfig/QtDBus.pc > ${WRKOBJ}/QtDBus.pc
+ ${INSTALL_DATA} ${WRKOBJ}/QtDBus.pc ${PREFIX}/lib/pkgconfig/
+ cd ${WRKSRC}/tools/qdbus/src && env ${MAKE_ENV} \
+ ${MAKE_PROGRAM} install_qtdbus_headers
+.for prog in qdbus qdbuscpp2xml qdbusviewer qdbusxml2cpp
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} \
+ ${QTPREFIX}/bin
+.endfor
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 613595c58a1a -r ccdc3863c235 x11/qt4-qdbus/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-qdbus/PLIST Thu Dec 06 11:28:09 2007 +0000
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/12/06 11:28:09 markd Exp $
+lib/pkgconfig/QtDBus.pc
+qt4/bin/qdbus
+qt4/bin/qdbuscpp2xml
+qt4/bin/qdbusviewer
+qt4/bin/qdbusxml2cpp
+qt4/include/QtDBus/qdbusargument.h
+qt4/include/QtDBus/qdbusabstractadaptor.h
+qt4/include/QtDBus/qdbusabstractinterface.h
+qt4/include/QtDBus/qdbusconnectioninterface.h
+qt4/include/QtDBus/qdbusserver.h
+qt4/include/QtDBus/qdbusreply.h
+qt4/include/QtDBus/qdbuscontext.h
+qt4/include/QtDBus/qdbusinterface.h
+qt4/include/QtDBus/qdbusextratypes.h
+qt4/include/QtDBus/qdbuserror.h
+qt4/include/QtDBus/qdbusmetatype.h
+qt4/include/QtDBus/qdbusconnection.h
+qt4/include/QtDBus/qdbusmessage.h
+qt4/include/QtDBus/qdbusmacros.h
+qt4/include/QtDBus/QtDBus
+qt4/include/QtDBus/QDBusArgument
+qt4/include/QtDBus/QDBusAbstractAdaptor
+qt4/include/QtDBus/QDBusAbstractInterface
+qt4/include/QtDBus/QDBusConnectionInterface
+qt4/include/QtDBus/QDBusServer
+qt4/include/QtDBus/QDBusReply
+qt4/include/QtDBus/QDBusContext
+qt4/include/QtDBus/QDBusInterface
+qt4/include/QtDBus/QDBusObjectPath
+qt4/include/QtDBus/QDBusSignature
+qt4/include/QtDBus/QDBusVariant
+qt4/include/QtDBus/QDBusError
+qt4/include/QtDBus/QDBusMetaType
+qt4/include/QtDBus/QDBusConnection
+qt4/include/QtDBus/QDBusMessage
+qt4/lib/libQtDBus.la
+@dirrm qt4/include/QtDBus
diff -r 613595c58a1a -r ccdc3863c235 x11/qt4-qdbus/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-qdbus/buildlink3.mk Thu Dec 06 11:28:09 2007 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/12/06 11:28:09 markd Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+QT4_QDBUS_BUILDLINK3_MK:= ${QT4_QDBUS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= qt4-qdbus
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt4-qdbus}
+BUILDLINK_PACKAGES+= qt4-qdbus
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt4-qdbus
+
+.if ${QT4_QDBUS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.qt4-qdbus+= qt4-qdbus>=4.3.2
+BUILDLINK_PKGSRCDIR.qt4-qdbus?= ../../x11/qt4-qdbus
+.endif # QT4_QDBUS_BUILDLINK3_MK
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index