From owner-svn-ports-head@freebsd.org Tue Mar 28 10:49:50 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CCB0D20AD9; Tue, 28 Mar 2017 10:49:50 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB166659; Tue, 28 Mar 2017 10:49:49 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2SAnnQS027939; Tue, 28 Mar 2017 10:49:49 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2SAnmet027930; Tue, 28 Mar 2017 10:49:48 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201703281049.v2SAnmet027930@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Tue, 28 Mar 2017 10:49:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437115 - in head/net: . qoauth-qt5 qoauth-qt5/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 10:49:50 -0000 Author: rakuco Date: Tue Mar 28 10:49:48 2017 New Revision: 437115 URL: https://svnweb.freebsd.org/changeset/ports/437115 Log: New port: net/qoauth-qt5. This is the Qt5 version of net/qoauth. The port was originally created by fluffy@ in our area51 repository, and later worked on by tcberner@. QOAuth is an attempt to support interaction with OAuth-powered network services in a Qt way. WWW: https://github.com/ayoy/qoauth Added: head/net/qoauth-qt5/ head/net/qoauth-qt5/Makefile (contents, props changed) head/net/qoauth-qt5/distinfo (contents, props changed) head/net/qoauth-qt5/files/ head/net/qoauth-qt5/files/patch-oauth.prf (contents, props changed) head/net/qoauth-qt5/files/patch-src_pcfile.sh (contents, props changed) head/net/qoauth-qt5/files/patch-src_src.pro (contents, props changed) head/net/qoauth-qt5/pkg-descr (contents, props changed) head/net/qoauth-qt5/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Tue Mar 28 10:17:22 2017 (r437114) +++ head/net/Makefile Tue Mar 28 10:49:48 2017 (r437115) @@ -1076,6 +1076,7 @@ SUBDIR += qadsl SUBDIR += qjsonrpc SUBDIR += qoauth + SUBDIR += qoauth-qt5 SUBDIR += qt4-network SUBDIR += qt5-network SUBDIR += qtweetlib Added: head/net/qoauth-qt5/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/qoauth-qt5/Makefile Tue Mar 28 10:49:48 2017 (r437115) @@ -0,0 +1,25 @@ +# Created by: Dima Panov +# $FreeBSD$ + +PORTNAME= qoauth +PORTVERSION= 2.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= net devel security +PKGNAMESUFFIX= -qt5 + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt5 support for OAuth-powered network services + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libqca-qt5.so:devel/qca-qt5 + +USES= qmake:outsource +USE_LDCONFIG= yes +USE_QT5= core network testlib buildtools_build qmake_build + +USE_GITHUB= yes +GH_ACCOUNT= ayoy + +.include Added: head/net/qoauth-qt5/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/qoauth-qt5/distinfo Tue Mar 28 10:49:48 2017 (r437115) @@ -0,0 +1,3 @@ +TIMESTAMP = 1483780221 +SHA256 (ayoy-qoauth-v2.0.0_GH0.tar.gz) = a28005986410d333e03d077679cdf6c504ec5a33342867dc0f9fb0b74285e333 +SIZE (ayoy-qoauth-v2.0.0_GH0.tar.gz) = 53207 Added: head/net/qoauth-qt5/files/patch-oauth.prf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/qoauth-qt5/files/patch-oauth.prf Tue Mar 28 10:49:48 2017 (r437115) @@ -0,0 +1,14 @@ +--- oauth.prf.orig 2016-11-28 17:52:39 UTC ++++ oauth.prf +@@ -31,9 +31,9 @@ mac: { + # else, link normally + isEmpty(LINKAGE) { + exists($$PWD/qoauth.pro): INCLUDEPATH += $$QOAUTH_INCDIR +- else: INCLUDEPATH += $$QOAUTH_INCDIR/QtOAuth ++ else: INCLUDEPATH += $$QOAUTH_INCDIR/QtOAuth-qt5 + LIBS += -L$$QOAUTH_LIBDIR +- LINKAGE = -lqoauth ++ LINKAGE = -lqoauth-qt5 + CONFIG(debug, debug|release) { + windows:LINKAGE = -lqoauthd1 + mac:LINKAGE = -lqoauth_debug Added: head/net/qoauth-qt5/files/patch-src_pcfile.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/qoauth-qt5/files/patch-src_pcfile.sh Tue Mar 28 10:49:48 2017 (r437115) @@ -0,0 +1,19 @@ +--- src/pcfile.sh.orig 2016-11-28 17:52:39 UTC ++++ src/pcfile.sh +@@ -5,11 +5,11 @@ + echo "prefix=$1 + exec_prefix=\${prefix} + libdir=\${prefix}/lib +-includedir=\${prefix}/include/QtOAuth ++includedir=\${prefix}/include/QtOAuth-qt5 + +-Name: QOAuth ++Name: QOAuth-qt5 + Description: Qt OAuth support library + Version: $2 +-Requires: QtCore QtNetwork qca2 +-Libs: -L\${libdir} -lqoauth +-Cflags: -I\${includedir}" > qoauth.pc ++Requires: Qt5Core Qt5Network qca2-qt5 ++Libs: -L\${libdir} -lqoauth-qt5 ++Cflags: -I\${includedir}" > qoauth-qt5.pc Added: head/net/qoauth-qt5/files/patch-src_src.pro ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/qoauth-qt5/files/patch-src_src.pro Tue Mar 28 10:49:48 2017 (r437115) @@ -0,0 +1,29 @@ +--- src/src.pro.orig 2016-11-28 17:52:39 UTC ++++ src/src.pro +@@ -1,4 +1,4 @@ +-TARGET = qoauth ++TARGET = qoauth-qt5 + DESTDIR = ../lib + win32:DLLDESTDIR = $${DESTDIR} + +@@ -78,7 +78,7 @@ else:unix { + + # this creates a pkgconfig file + system( ./pcfile.sh $${INSTALL_PREFIX} $${VERSION} ) +- pkgconfig.files = qoauth.pc ++ pkgconfig.files = qoauth-qt5.pc + + contains(QMAKE_HOST.arch, x86_64) { + target.path = $${INSTALL_PREFIX}/lib64 +@@ -86,9 +86,9 @@ else:unix { + target.path = $${INSTALL_PREFIX}/lib + } + +- headers.path = $${INSTALL_PREFIX}/include/QtOAuth ++ headers.path = $${INSTALL_PREFIX}/include/QtOAuth-qt5/QtOAuth + docs.path = $${INSTALL_PREFIX}/share/doc/$${TARGET}-$${VERSION}/html +- pkgconfig.path = $${target.path}/pkgconfig ++ pkgconfig.path = $${INSTALL_PREFIX}/libdata/pkgconfig + INSTALLS += \ + target \ + headers \ Added: head/net/qoauth-qt5/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/qoauth-qt5/pkg-descr Tue Mar 28 10:49:48 2017 (r437115) @@ -0,0 +1,4 @@ +QOAuth is an attempt to support interaction with OAuth-powered network services +in a Qt way + +WWW: https://github.com/ayoy/qoauth Added: head/net/qoauth-qt5/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/qoauth-qt5/pkg-plist Tue Mar 28 10:49:48 2017 (r437115) @@ -0,0 +1,11 @@ +include/QtOAuth-qt5/QtOAuth/QtOAuth +include/QtOAuth-qt5/QtOAuth/interface.h +include/QtOAuth-qt5/QtOAuth/qoauth_global.h +include/QtOAuth-qt5/QtOAuth/qoauth_namespace.h +lib/libqoauth-qt5.prl +lib/libqoauth-qt5.so +lib/libqoauth-qt5.so.2 +lib/libqoauth-qt5.so.2.0 +lib/libqoauth-qt5.so.2.0.0 +%%QT_MKSPECDIR%%/features/oauth.prf +libdata/pkgconfig/qoauth-qt5.pc