diff options
| author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2017-03-28 10:49:48 +0000 |
|---|---|---|
| committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2017-03-28 10:49:48 +0000 |
| commit | 726a3dff29bc78bead8577fe589285ffbed3efce (patch) | |
| tree | 284607825998f11114e9e5cb783ab958d15509a4 /net/qoauth-qt5/files | |
| parent | Restore deviceatlas checksums. (diff) | |
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
Diffstat (limited to 'net/qoauth-qt5/files')
| -rw-r--r-- | net/qoauth-qt5/files/patch-oauth.prf | 14 | ||||
| -rw-r--r-- | net/qoauth-qt5/files/patch-src_pcfile.sh | 19 | ||||
| -rw-r--r-- | net/qoauth-qt5/files/patch-src_src.pro | 29 |
3 files changed, 62 insertions, 0 deletions
diff --git a/net/qoauth-qt5/files/patch-oauth.prf b/net/qoauth-qt5/files/patch-oauth.prf new file mode 100644 index 000000000000..adf2e8b8cf7b --- /dev/null +++ b/net/qoauth-qt5/files/patch-oauth.prf @@ -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 diff --git a/net/qoauth-qt5/files/patch-src_pcfile.sh b/net/qoauth-qt5/files/patch-src_pcfile.sh new file mode 100644 index 000000000000..c3a920a3f119 --- /dev/null +++ b/net/qoauth-qt5/files/patch-src_pcfile.sh @@ -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 diff --git a/net/qoauth-qt5/files/patch-src_src.pro b/net/qoauth-qt5/files/patch-src_src.pro new file mode 100644 index 000000000000..a7f15bdeb318 --- /dev/null +++ b/net/qoauth-qt5/files/patch-src_src.pro @@ -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 \ |
