summaryrefslogtreecommitdiff
path: root/sysutils/accounts-qml-module
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-04-25 09:53:51 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-04-25 09:53:51 +0000
commit85631a668e7797ae1dc369801292cb7c6adab0fc (patch)
tree462dc468ff29966d5b97b8a29b1e11b1ca201c61 /sysutils/accounts-qml-module
parent- Update WWW (diff)
New port: sysutils/accounts-qml-module -- Expose the Online Accounts API to QML applications
- this was a missing dependency for kio-gdrive Reported by: mikael
Notes
Notes: svn path=/head/; revision=532931
Diffstat (limited to 'sysutils/accounts-qml-module')
-rw-r--r--sysutils/accounts-qml-module/Makefile26
-rw-r--r--sysutils/accounts-qml-module/distinfo3
-rw-r--r--sysutils/accounts-qml-module/files/patch-common-project-config.pri11
-rw-r--r--sysutils/accounts-qml-module/pkg-descr6
-rw-r--r--sysutils/accounts-qml-module/pkg-plist25
5 files changed, 71 insertions, 0 deletions
diff --git a/sysutils/accounts-qml-module/Makefile b/sysutils/accounts-qml-module/Makefile
new file mode 100644
index 000000000000..3b3d36a4bdc0
--- /dev/null
+++ b/sysutils/accounts-qml-module/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= accounts-qml-module
+DISTVERSION= 0.7
+CATEGORIES= sysutils kde
+DIST_SUBDIR= KDE/${GL_ACCOUNT}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Expose the Online Accounts API to QML applications
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libaccounts-qt5.so:net-im/libaccounts-qt5 \
+ libsignon-qt5.so:sysutils/signon-qt5 \
+
+USES= compiler:c++11-lang gl pkgconfig qmake qt:5 tar:bz2
+USE_GL= gl
+USE_QT= core declarative gui network testlib xml \
+ buildtools_build qdoc_build qmake_build
+# gitlab variables
+USE_GITLAB= yes
+GL_ACCOUNT= accounts-sso
+GL_COMMIT= cfadea7ba8ba4011ae20d771696eb74deb87201e
+
+.include <bsd.port.mk>
diff --git a/sysutils/accounts-qml-module/distinfo b/sysutils/accounts-qml-module/distinfo
new file mode 100644
index 000000000000..f7ed20f2effe
--- /dev/null
+++ b/sysutils/accounts-qml-module/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587806835
+SHA256 (KDE/accounts-sso/accounts-sso-accounts-qml-module-cfadea7ba8ba4011ae20d771696eb74deb87201e_GL0.tar.gz) = 91e2ed1f0867f76da204446ae3f09f7219be7eef379fb7a3c07e88be229b3e14
+SIZE (KDE/accounts-sso/accounts-sso-accounts-qml-module-cfadea7ba8ba4011ae20d771696eb74deb87201e_GL0.tar.gz) = 61870
diff --git a/sysutils/accounts-qml-module/files/patch-common-project-config.pri b/sysutils/accounts-qml-module/files/patch-common-project-config.pri
new file mode 100644
index 000000000000..da1103f137d8
--- /dev/null
+++ b/sysutils/accounts-qml-module/files/patch-common-project-config.pri
@@ -0,0 +1,11 @@
+--- common-project-config.pri.orig 2020-04-25 09:29:07 UTC
++++ common-project-config.pri
+@@ -3,7 +3,7 @@
+ #-----------------------------------------------------------------------------
+
+ # we don't like warnings...
+-QMAKE_CXXFLAGS += -Werror -Wno-write-strings
++QMAKE_CXXFLAGS += -Wno-write-strings
+ # Disable RTTI
+ QMAKE_CXXFLAGS += -fno-exceptions -fno-rtti
+ # Use C++11
diff --git a/sysutils/accounts-qml-module/pkg-descr b/sysutils/accounts-qml-module/pkg-descr
new file mode 100644
index 000000000000..715533261440
--- /dev/null
+++ b/sysutils/accounts-qml-module/pkg-descr
@@ -0,0 +1,6 @@
+This QML module provides an API to manage the user's online accounts and get
+their authentication data.
+
+It's a tiny wrapper around the Qt-based APIs of libaccounts-qt and libsignon-qt.
+
+WWW: https://gitlab.com/groups/accounts-sso
diff --git a/sysutils/accounts-qml-module/pkg-plist b/sysutils/accounts-qml-module/pkg-plist
new file mode 100644
index 000000000000..29a0e9e0e609
--- /dev/null
+++ b/sysutils/accounts-qml-module/pkg-plist
@@ -0,0 +1,25 @@
+bin/tst_plugin
+%%QT_QMLDIR%%/Ubuntu/OnlineAccounts/libAccounts.so
+%%QT_QMLDIR%%/Ubuntu/OnlineAccounts/plugin.qmltypes
+%%QT_QMLDIR%%/Ubuntu/OnlineAccounts/qmldir
+%%DATADIR%%/doc/html/.gitignore
+%%DATADIR%%/doc/html/onlineaccounts-qml-api.index
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-account-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-account.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-accountservice-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-accountservice.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-accountservicemodel-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-accountservicemodel.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-application-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-application.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-applicationmodel-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-applicationmodel.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-credentials-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-credentials.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-manager-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-manager.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-providermodel-members.html
+%%DATADIR%%/doc/html/qml-ubuntu-onlineaccounts-providermodel.html
+%%DATADIR%%/doc/html/style/qtquick.css
+%%DATADIR%%/doc/html/ubuntu-onlineaccounts-qmlmodule.html
+@dir %%DATADIR%%/doc/html/images