diff options
-rw-r--r-- | misc/kf5-purpose/Makefile | 2 | ||||
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/accounts-qml-module/Makefile | 26 | ||||
-rw-r--r-- | sysutils/accounts-qml-module/distinfo | 3 | ||||
-rw-r--r-- | sysutils/accounts-qml-module/files/patch-common-project-config.pri | 11 | ||||
-rw-r--r-- | sysutils/accounts-qml-module/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/accounts-qml-module/pkg-plist | 25 |
7 files changed, 74 insertions, 0 deletions
diff --git a/misc/kf5-purpose/Makefile b/misc/kf5-purpose/Makefile index 517e358c3528..c8fee5d0dcce 100644 --- a/misc/kf5-purpose/Makefile +++ b/misc/kf5-purpose/Makefile @@ -2,6 +2,7 @@ PORTNAME= purpose DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= misc kde kde-frameworks MAINTAINER= kde@FreeBSD.org @@ -9,6 +10,7 @@ COMMENT= Offers available actions for a specific purpose LIB_DEPENDS= libaccounts-qt5.so:net-im/libaccounts-qt5 \ libkaccounts.so:net-im/kaccounts-integration +RUN_DEPENDS= accounts-qml-module>=0:sysutils/accounts-qml-module USES= cmake compiler:c++11-lang gettext gnome \ kde:5 pkgconfig qt:5 tar:xz diff --git a/sysutils/Makefile b/sysutils/Makefile index 778247d6dd2c..b0ac020a3a98 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -15,6 +15,7 @@ SUBDIR += abduco SUBDIR += abgx360 SUBDIR += abgx360gui + SUBDIR += accounts-qml-modul SUBDIR += accountsservice SUBDIR += acerhdf-kmod SUBDIR += acpi_call 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 |