diff options
author | markd <markd@pkgsrc.org> | 2007-12-06 11:28:09 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-12-06 11:28:09 +0000 |
commit | 7964210a206bf7d5176d69b5c6ef809bce863cfa (patch) | |
tree | 808691c58c8655f104d67d8d725efb85564b33e3 /x11/qt4-qdbus | |
parent | a7efc1ae063588856b2cf8957e5071b4bf42c1dc (diff) | |
download | pkgsrc-7964210a206bf7d5176d69b5c6ef809bce863cfa.tar.gz |
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 (limited to 'x11/qt4-qdbus')
-rw-r--r-- | x11/qt4-qdbus/DESCR | 1 | ||||
-rw-r--r-- | x11/qt4-qdbus/Makefile | 36 | ||||
-rw-r--r-- | x11/qt4-qdbus/PLIST | 38 | ||||
-rw-r--r-- | x11/qt4-qdbus/buildlink3.mk | 22 |
4 files changed, 97 insertions, 0 deletions
diff --git a/x11/qt4-qdbus/DESCR b/x11/qt4-qdbus/DESCR new file mode 100644 index 00000000000..7b76e43a8a9 --- /dev/null +++ b/x11/qt4-qdbus/DESCR @@ -0,0 +1 @@ +QT4 DBus support diff --git a/x11/qt4-qdbus/Makefile b/x11/qt4-qdbus/Makefile new file mode 100644 index 00000000000..cbecc530d1b --- /dev/null +++ b/x11/qt4-qdbus/Makefile @@ -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 --git a/x11/qt4-qdbus/PLIST b/x11/qt4-qdbus/PLIST new file mode 100644 index 00000000000..855b3b08770 --- /dev/null +++ b/x11/qt4-qdbus/PLIST @@ -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 --git a/x11/qt4-qdbus/buildlink3.mk b/x11/qt4-qdbus/buildlink3.mk new file mode 100644 index 00000000000..8f05a433e76 --- /dev/null +++ b/x11/qt4-qdbus/buildlink3.mk @@ -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/+$//} |