From 95b432834321ced013288ab5c51a9a19b30231de Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sat, 16 Mar 2019 14:02:38 +0000 Subject: [PATCH] net-im/qxmpp-qt5: unbundle from net-im/qxmpp (Qt4 deprecation) Approved by: portmgr (implicit) --- net-im/qxmpp-qt5/Makefile | 32 ++++++++++++++--- net-im/qxmpp-qt5/distinfo | 2 ++ net-im/qxmpp-qt5/pkg-descr | 10 ++++++ net-im/qxmpp-qt5/pkg-plist | 70 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 5 deletions(-) create mode 100644 net-im/qxmpp-qt5/distinfo create mode 100644 net-im/qxmpp-qt5/pkg-descr create mode 100644 net-im/qxmpp-qt5/pkg-plist diff --git a/net-im/qxmpp-qt5/Makefile b/net-im/qxmpp-qt5/Makefile index f42fe406fc1e..62df0366e109 100644 --- a/net-im/qxmpp-qt5/Makefile +++ b/net-im/qxmpp-qt5/Makefile @@ -1,11 +1,33 @@ # $FreeBSD$ -PORTREVISION= 2 +PORTNAME= qxmpp +PORTVERSION= 0.9.3 +DISTVERSIONPREFIX= v +PORTREVISION= 1 +CATEGORIES= net-im PKGNAMESUFFIX= -qt5 -CONFLICTS= qxmpp-[0-9]* +MAINTAINER= ports@FreeBSD.org +COMMENT= QXmpp is an xmpp client library based on Qt & C++ -QXMPP_SLAVE= yes -MASTERDIR= ${.CURDIR}/../../net-im/qxmpp +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE.LGPL -.include "${MASTERDIR}/Makefile" +CONFLICTS?= ${PORTNAME}-[0-9]* + +USES= compiler:c++11-lang libtool pathfix pkgconfig qmake qt:5 +USE_QT= core gui network xml buildtools_build +PLIST_SUB= QDNS="@comment " + +QMAKE_ARGS= QXMPP_NO_TESTS=1 + +USE_GITHUB= yes +GH_ACCOUNT= qxmpp-project + +PLIST_SUB+= VERSION=${PORTVERSION} VERSION_MAJOR=${PORTVERSION:R} + +pre-configure: + ${REINPLACE_CMD} -e 's|pkgconfig|../libdata/pkgconfig|g' \ + ${WRKSRC}/src/src.pro + +.include diff --git a/net-im/qxmpp-qt5/distinfo b/net-im/qxmpp-qt5/distinfo new file mode 100644 index 000000000000..b8d71a11c999 --- /dev/null +++ b/net-im/qxmpp-qt5/distinfo @@ -0,0 +1,2 @@ +SHA256 (qxmpp-project-qxmpp-v0.9.3_GH0.tar.gz) = 13f5162a1df720702c6ae15a476a4cb8ea3e57d861a992c4de9147909765e6de +SIZE (qxmpp-project-qxmpp-v0.9.3_GH0.tar.gz) = 300764 diff --git a/net-im/qxmpp-qt5/pkg-descr b/net-im/qxmpp-qt5/pkg-descr new file mode 100644 index 000000000000..2b1daba4865f --- /dev/null +++ b/net-im/qxmpp-qt5/pkg-descr @@ -0,0 +1,10 @@ +QXmpp is pretty intuitive and easy to use. It uses Qt extensively. +Qt is the only third party library it is dependent on. Users need +to a have working knowledge of C++ and Qt basics (Signals and Slots +and Qt data types). The underlying TCP socket and the XMPP RFCs +(RFC3920 and RFC3921) have been encapsulated into classes and +functions. Therefore the user would not be bothered with these +details. But it is always recommended to the advanced users to read +and enjoy the low level details. + +WWW: https://github.com/qxmpp-project/qxmpp/ diff --git a/net-im/qxmpp-qt5/pkg-plist b/net-im/qxmpp-qt5/pkg-plist new file mode 100644 index 000000000000..fbee4b67b61d --- /dev/null +++ b/net-im/qxmpp-qt5/pkg-plist @@ -0,0 +1,70 @@ +include/qxmpp/QXmppArchiveIq.h +include/qxmpp/QXmppArchiveManager.h +include/qxmpp/QXmppBindIq.h +include/qxmpp/QXmppBookmarkManager.h +include/qxmpp/QXmppBookmarkSet.h +include/qxmpp/QXmppByteStreamIq.h +include/qxmpp/QXmppCallManager.h +include/qxmpp/QXmppClient.h +include/qxmpp/QXmppClientExtension.h +include/qxmpp/QXmppConfiguration.h +include/qxmpp/QXmppConstants.h +include/qxmpp/QXmppDataForm.h +include/qxmpp/QXmppDialback.h +include/qxmpp/QXmppDiscoveryIq.h +include/qxmpp/QXmppDiscoveryManager.h +include/qxmpp/QXmppElement.h +include/qxmpp/QXmppEntityTimeIq.h +include/qxmpp/QXmppEntityTimeManager.h +include/qxmpp/QXmppGlobal.h +include/qxmpp/QXmppIbbIq.h +include/qxmpp/QXmppIncomingClient.h +include/qxmpp/QXmppIncomingServer.h +include/qxmpp/QXmppInvokable.h +include/qxmpp/QXmppIq.h +include/qxmpp/QXmppJingleIq.h +include/qxmpp/QXmppLogger.h +include/qxmpp/QXmppMessage.h +include/qxmpp/QXmppMessageReceiptManager.h +include/qxmpp/QXmppMucIq.h +include/qxmpp/QXmppMucManager.h +include/qxmpp/QXmppNonSASLAuth.h +include/qxmpp/QXmppOutgoingClient.h +include/qxmpp/QXmppOutgoingServer.h +include/qxmpp/QXmppPasswordChecker.h +include/qxmpp/QXmppPingIq.h +include/qxmpp/QXmppPresence.h +include/qxmpp/QXmppPubSubIq.h +include/qxmpp/QXmppRegisterIq.h +include/qxmpp/QXmppRemoteMethod.h +include/qxmpp/QXmppResultSet.h +include/qxmpp/QXmppRosterIq.h +include/qxmpp/QXmppRosterManager.h +include/qxmpp/QXmppRpcIq.h +include/qxmpp/QXmppRpcManager.h +include/qxmpp/QXmppRtcpPacket.h +include/qxmpp/QXmppRtpChannel.h +include/qxmpp/QXmppRtpPacket.h +include/qxmpp/QXmppServer.h +include/qxmpp/QXmppServerExtension.h +include/qxmpp/QXmppServerPlugin.h +include/qxmpp/QXmppSessionIq.h +include/qxmpp/QXmppSocks.h +include/qxmpp/QXmppStanza.h +include/qxmpp/QXmppStream.h +include/qxmpp/QXmppStreamFeatures.h +include/qxmpp/QXmppStun.h +include/qxmpp/QXmppTransferManager.h +include/qxmpp/QXmppTransferManager_p.h +include/qxmpp/QXmppUtils.h +include/qxmpp/QXmppVCardIq.h +include/qxmpp/QXmppVCardManager.h +include/qxmpp/QXmppVersionIq.h +include/qxmpp/QXmppVersionManager.h +%%QDNS%%include/qxmpp/qdnslookup.h +%%QDNS%%include/qxmpp/qdnslookup_p.h +lib/libqxmpp.so +lib/libqxmpp.so.0 +lib/libqxmpp.so.%%VERSION_MAJOR%% +lib/libqxmpp.so.%%VERSION%% +libdata/pkgconfig/qxmpp.pc