diff options
| author | Tobias C. Berner <tcberner@FreeBSD.org> | 2024-01-05 13:17:23 +0100 |
|---|---|---|
| committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2024-01-05 13:57:24 +0100 |
| commit | 82f0c0f3480cb0e63adcbbc33cbf929f27371f8c (patch) | |
| tree | 695f3c4cc611f058fda911bd5ca31382dee66725 /net-im/libaccounts-qt | |
| parent | 8cd334f8192f08dcc21f21bdac6f0278d1298653 (diff) | |
net-im/libaccounts-qt5: rename to libaccounts-qt and flavorize
- rename to get rid of qt5 in name
- switch to fork [1] to add Qt6 support
[1] https://gitlab.com/nicolasfella/libaccounts-qt/-/tree/qt6
Diffstat (limited to 'net-im/libaccounts-qt')
| -rw-r--r-- | net-im/libaccounts-qt/Makefile | 45 | ||||
| -rw-r--r-- | net-im/libaccounts-qt/distinfo | 3 | ||||
| -rw-r--r-- | net-im/libaccounts-qt/files/patch-accounts-qt.pro | 15 | ||||
| -rw-r--r-- | net-im/libaccounts-qt/files/patch-common-project-config.pri | 11 | ||||
| -rw-r--r-- | net-im/libaccounts-qt/pkg-descr | 1 | ||||
| -rw-r--r-- | net-im/libaccounts-qt/pkg-plist | 137 |
6 files changed, 212 insertions, 0 deletions
diff --git a/net-im/libaccounts-qt/Makefile b/net-im/libaccounts-qt/Makefile new file mode 100644 index 000000000000..b76092d99fcd --- /dev/null +++ b/net-im/libaccounts-qt/Makefile @@ -0,0 +1,45 @@ +PORTNAME= libaccounts-qt +DISTVERSION= 1.16 +PORTREVISION= 5 +CATEGORIES= net-im +DIST_SUBDIR= KDE/${GL_ACCOUNT} +PKGNAMESUFFIX= ${FLAVOR:S/qt//} + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt5 wrapper for SSO framework +WWW= https://code.google.com/p/accounts-sso/ + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +FLAVORS= qt5 qt6 +FLAVOR?= qt5 + +LIB_DEPENDS= libaccounts-glib.so:net-im/libaccounts-glib + +USES= compiler:c++17-lang gettext-runtime gnome qmake \ + pathfix pkgconfig python qt:${FLAVOR:S/qt//} tar:bz2 +USE_GNOME= glib20 +_USE_QT_qt5= buildtools:build core qmake:build testlib xml +_USE_QT_qt6= base +USE_QT= ${_USE_QT_${FLAVOR}} + +# gitlab variables +USE_GITLAB= yes +GL_ACCOUNT= nicolasfella +GL_PROJECT= libaccounts-qt +GL_TAGNAME= 18557f7def9af8f4a9e0e93e9f575ae11e5066aa + +OPTIONS_DEFINE= DOCS +OPTIONS_SUB= yes + +DOCS_BUILD_DEPENDS= doxygen:devel/doxygen +DOCS_QMAKE_ON= CONFIG+=docs + +PLIST_SUB= QT_VER=${FLAVOR:S/qt//} + +pre-configure: + ${REINPLACE_CMD} -e 's,$$$${INSTALL_LIBDIR},${LOCALBASE}/libdata,' \ + ${WRKSRC}/common-pkgconfig.pri + +.include <bsd.port.mk> diff --git a/net-im/libaccounts-qt/distinfo b/net-im/libaccounts-qt/distinfo new file mode 100644 index 000000000000..a72f665c50b2 --- /dev/null +++ b/net-im/libaccounts-qt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704456583 +SHA256 (KDE/nicolasfella/nicolasfella-libaccounts-qt-18557f7def9af8f4a9e0e93e9f575ae11e5066aa_GL0.tar.gz) = c89df9c9537afa5b2f01556a99a28cb78bca6325588147c0e902d52a06c64c49 +SIZE (KDE/nicolasfella/nicolasfella-libaccounts-qt-18557f7def9af8f4a9e0e93e9f575ae11e5066aa_GL0.tar.gz) = 65468 diff --git a/net-im/libaccounts-qt/files/patch-accounts-qt.pro b/net-im/libaccounts-qt/files/patch-accounts-qt.pro new file mode 100644 index 000000000000..369c06028e7e --- /dev/null +++ b/net-im/libaccounts-qt/files/patch-accounts-qt.pro @@ -0,0 +1,15 @@ +--- accounts-qt.pro.orig 2019-09-18 19:00:34 UTC ++++ accounts-qt.pro +@@ -2,10 +2,10 @@ include( common-vars.pri ) + + TEMPLATE = subdirs + CONFIG += ordered +-SUBDIRS += Accounts tests ++SUBDIRS += Accounts + + include( common-project-config.pri ) +-include( doc/doc.pri ) ++docs { include( doc/doc.pri ) } + + DISTNAME = $${PROJECT_NAME}-$${PROJECT_VERSION} + EXCLUDES = \ diff --git a/net-im/libaccounts-qt/files/patch-common-project-config.pri b/net-im/libaccounts-qt/files/patch-common-project-config.pri new file mode 100644 index 000000000000..7122b58bbe1b --- /dev/null +++ b/net-im/libaccounts-qt/files/patch-common-project-config.pri @@ -0,0 +1,11 @@ +--- common-project-config.pri.orig 2020-07-09 18:52:52 UTC ++++ common-project-config.pri +@@ -19,7 +19,7 @@ UI_SOURCES_DIR = ui/src + # we don't like warnings... + #QMAKE_CXXFLAGS *= -Werror + +-CONFIG += c++11 ++CONFIG += c++17 + + #----------------------------------------------------------------------------- + # setup the installation prefix diff --git a/net-im/libaccounts-qt/pkg-descr b/net-im/libaccounts-qt/pkg-descr new file mode 100644 index 000000000000..5c966f6bd77c --- /dev/null +++ b/net-im/libaccounts-qt/pkg-descr @@ -0,0 +1 @@ +Accounts and SSO (Single Sign-On) framework for Linux and POSIX based platforms. diff --git a/net-im/libaccounts-qt/pkg-plist b/net-im/libaccounts-qt/pkg-plist new file mode 100644 index 000000000000..b409b1daf0c8 --- /dev/null +++ b/net-im/libaccounts-qt/pkg-plist @@ -0,0 +1,137 @@ +include/accounts-qt%%QT_VER%%/Accounts/Account +include/accounts-qt%%QT_VER%%/Accounts/AccountService +include/accounts-qt%%QT_VER%%/Accounts/Application +include/accounts-qt%%QT_VER%%/Accounts/AuthData +include/accounts-qt%%QT_VER%%/Accounts/Error +include/accounts-qt%%QT_VER%%/Accounts/Manager +include/accounts-qt%%QT_VER%%/Accounts/Provider +include/accounts-qt%%QT_VER%%/Accounts/Service +include/accounts-qt%%QT_VER%%/Accounts/ServiceType +include/accounts-qt%%QT_VER%%/Accounts/account-service.h +include/accounts-qt%%QT_VER%%/Accounts/account.h +include/accounts-qt%%QT_VER%%/Accounts/accountscommon.h +include/accounts-qt%%QT_VER%%/Accounts/application.h +include/accounts-qt%%QT_VER%%/Accounts/auth-data.h +include/accounts-qt%%QT_VER%%/Accounts/error.h +include/accounts-qt%%QT_VER%%/Accounts/manager.h +include/accounts-qt%%QT_VER%%/Accounts/manager_p.h +include/accounts-qt%%QT_VER%%/Accounts/provider.h +include/accounts-qt%%QT_VER%%/Accounts/service-type.h +include/accounts-qt%%QT_VER%%/Accounts/service.h +include/accounts-qt%%QT_VER%%/Accounts/utils.h +lib/cmake/AccountsQt%%QT_VER%%/AccountsQt%%QT_VER%%Config.cmake +lib/cmake/AccountsQt%%QT_VER%%/AccountsQt%%QT_VER%%ConfigVersion.cmake +lib/libaccounts-qt%%QT_VER%%.so +lib/libaccounts-qt%%QT_VER%%.so.1 +lib/libaccounts-qt%%QT_VER%%.so.1.4 +lib/libaccounts-qt%%QT_VER%%.so.1.4.0 +libdata/pkgconfig/accounts-qt%%QT_VER%%.pc +%%DOCS%%share/doc/accounts-qt/html/account-service_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/account-service_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/account_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/account_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/accountscommon_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/annotated.html +%%DOCS%%share/doc/accounts-qt/html/annotated_dup.js +%%DOCS%%share/doc/accounts-qt/html/application_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/application_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/auth-data_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/auth-data_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/bc_s.png +%%DOCS%%share/doc/accounts-qt/html/bc_sd.png +%%DOCS%%share/doc/accounts-qt/html/bdwn.png +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1AccountService-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1AccountService.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1AccountService.js +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Application-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Application.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Application.js +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1AuthData-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1AuthData.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1AuthData.js +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Error-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Error.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Error.js +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Manager-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Manager.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Manager.js +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Provider-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Provider.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Provider.js +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Service-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Service.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1Service.js +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1ServiceType-members.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1ServiceType.html +%%DOCS%%share/doc/accounts-qt/html/classAccounts_1_1ServiceType.js +%%DOCS%%share/doc/accounts-qt/html/classes.html +%%DOCS%%share/doc/accounts-qt/html/closed.png +%%DOCS%%share/doc/accounts-qt/html/deprecated.html +%%DOCS%%share/doc/accounts-qt/html/dir_61c9e5842729cb34568d93cb98ad85b9.html +%%DOCS%%share/doc/accounts-qt/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.map +%%DOCS%%share/doc/accounts-qt/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.md5 +%%DOCS%%share/doc/accounts-qt/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.png +%%DOCS%%share/doc/accounts-qt/html/dir_c3d1d086c816c0518443c9e800634b9c.html +%%DOCS%%share/doc/accounts-qt/html/dir_c3d1d086c816c0518443c9e800634b9c.js +%%DOCS%%share/doc/accounts-qt/html/dir_e68e8157741866f444e17edd764ebbae.html +%%DOCS%%share/doc/accounts-qt/html/doc.png +%%DOCS%%share/doc/accounts-qt/html/docd.png +%%DOCS%%share/doc/accounts-qt/html/doxygen.css +%%DOCS%%share/doc/accounts-qt/html/doxygen.svg +%%DOCS%%share/doc/accounts-qt/html/dynsections.js +%%DOCS%%share/doc/accounts-qt/html/error_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/error_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/files.html +%%DOCS%%share/doc/accounts-qt/html/files_dup.js +%%DOCS%%share/doc/accounts-qt/html/folderclosed.png +%%DOCS%%share/doc/accounts-qt/html/folderopen.png +%%DOCS%%share/doc/accounts-qt/html/functions.html +%%DOCS%%share/doc/accounts-qt/html/functions_enum.html +%%DOCS%%share/doc/accounts-qt/html/functions_eval.html +%%DOCS%%share/doc/accounts-qt/html/functions_func.html +%%DOCS%%share/doc/accounts-qt/html/graph_legend.html +%%DOCS%%share/doc/accounts-qt/html/graph_legend.md5 +%%DOCS%%share/doc/accounts-qt/html/graph_legend.png +%%DOCS%%share/doc/accounts-qt/html/index.html +%%DOCS%%share/doc/accounts-qt/html/index.js +%%DOCS%%share/doc/accounts-qt/html/index.qhp +%%DOCS%%share/doc/accounts-qt/html/jquery.js +%%DOCS%%share/doc/accounts-qt/html/manager_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/manager_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/manager__p_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/menu.js +%%DOCS%%share/doc/accounts-qt/html/menudata.js +%%DOCS%%share/doc/accounts-qt/html/nav_f.png +%%DOCS%%share/doc/accounts-qt/html/nav_fd.png +%%DOCS%%share/doc/accounts-qt/html/nav_g.png +%%DOCS%%share/doc/accounts-qt/html/nav_h.png +%%DOCS%%share/doc/accounts-qt/html/nav_hd.png +%%DOCS%%share/doc/accounts-qt/html/navtree.css +%%DOCS%%share/doc/accounts-qt/html/navtree.js +%%DOCS%%share/doc/accounts-qt/html/navtreedata.js +%%DOCS%%share/doc/accounts-qt/html/navtreeindex0.js +%%DOCS%%share/doc/accounts-qt/html/open.png +%%DOCS%%share/doc/accounts-qt/html/pages.html +%%DOCS%%share/doc/accounts-qt/html/provider_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/provider_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/resize.js +%%DOCS%%share/doc/accounts-qt/html/service-type_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/service-type_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/service_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/service_8h_source.html +%%DOCS%%share/doc/accounts-qt/html/splitbar.png +%%DOCS%%share/doc/accounts-qt/html/splitbard.png +%%DOCS%%share/doc/accounts-qt/html/sync_off.png +%%DOCS%%share/doc/accounts-qt/html/sync_on.png +%%DOCS%%share/doc/accounts-qt/html/tab_a.png +%%DOCS%%share/doc/accounts-qt/html/tab_ad.png +%%DOCS%%share/doc/accounts-qt/html/tab_b.png +%%DOCS%%share/doc/accounts-qt/html/tab_bd.png +%%DOCS%%share/doc/accounts-qt/html/tab_h.png +%%DOCS%%share/doc/accounts-qt/html/tab_hd.png +%%DOCS%%share/doc/accounts-qt/html/tab_s.png +%%DOCS%%share/doc/accounts-qt/html/tab_sd.png +%%DOCS%%share/doc/accounts-qt/html/tabs.css +%%DOCS%%share/doc/accounts-qt/html/utils_8cpp_source.html +%%DOCS%%share/doc/accounts-qt/html/utils_8h_source.html +%%DOCS%%@dir share/doc/accounts-qt/qch |
