Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2017 10:49:48 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
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
Message-ID:  <201703281049.v2SAnmet027930@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <fluffy@FreeBSD.org>
+# $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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703281049.v2SAnmet027930>