sysutils/signon-plugin-oauth2: flavorize for Qt5 and Qt6

- switch to fork [1]

[1] https://gitlab.com/nicolasfella/signon-plugin-oauth2/-/tree/qt6
This commit is contained in:
Tobias C. Berner 2024-01-05 13:34:40 +01:00
parent df2349d74a
commit 7941e944cb
3 changed files with 17 additions and 10 deletions

View File

@ -1,27 +1,33 @@
PORTNAME= signon-plugin-oauth2
DISTVERSION= 0.25
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils kde
DISTNAME= archive
DIST_SUBDIR= KDE/${GL_ACCOUNT}
PKGNAMESUFFIX= -${FLAVOR}
MAINTAINER= kde@FreeBSD.org
COMMENT= Signon OAuth 1.0 and 2.0 plugin for accounts-sso
WWW= https://gitlab.com/accounts-sso/signon-plugin-oauth2
LIB_DEPENDS= libsignon-qt5.so:sysutils/signond@qt5
FLAVORS= qt5 qt6
FLAVOR?= qt5
USES= compiler:c++11-lang pkgconfig python qmake qt:5
USE_QT= core network testlib \
LIB_DEPENDS= libsignon-qt${FLAVOR:S/qt//}.so:sysutils/signond@${FLAVOR}
USES= compiler:c++11-lang pkgconfig python qmake qt:${FLAVOR:S/qt//}
_USE_QT_qt5= core network testlib \
buildtools:build qmake:build
_USE_QT_qt6= base
USE_QT= ${_USE_QT_${FLAVOR}}
USE_LDCONFIG= ${PREFIX}/lib/signon
QMAKE_ENV= PREFIX=${PREFIX}
# gitlab variables
USE_GITLAB= yes
GL_ACCOUNT= accounts-sso
GL_TAGNAME= 091887d09bb635fa31f69ed16d384563cddc8009
GL_ACCOUNT= nicolasfella
GL_TAGNAME= fab698862466994a8fdc9aa335c87b4f05430ce6
# Fix for Qt5-5.13:
# oauth2plugin.cpp:133:9: error: 'addQueryItem' is deprecated [-Werror,-Wdeprecated-declarations]

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1626330369
SHA256 (KDE/accounts-sso/accounts-sso-signon-plugin-oauth2-091887d09bb635fa31f69ed16d384563cddc8009_GL0.tar.gz) = 4ac679bead32d2cbafc902b66cc84e5ada38e977ad583a1bc55c106f18c2e04c
SIZE (KDE/accounts-sso/accounts-sso-signon-plugin-oauth2-091887d09bb635fa31f69ed16d384563cddc8009_GL0.tar.gz) = 41112
TIMESTAMP = 1704457883
SHA256 (KDE/nicolasfella/nicolasfella-signon-plugin-oauth2-fab698862466994a8fdc9aa335c87b4f05430ce6_GL0.tar.gz) = 5a1298cc49f504503f54f20f0f5f685e43f541244a654dd3da58951f43782625
SIZE (KDE/nicolasfella/nicolasfella-signon-plugin-oauth2-fab698862466994a8fdc9aa335c87b4f05430ce6_GL0.tar.gz) = 41352

View File

@ -1,5 +1,6 @@
PORTNAME= plasma-desktop
DISTVERSION= ${KDE_PLASMA_VERSION}
PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma
COMMENT= KDE Plasma Desktop
@ -11,7 +12,7 @@ BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols \
xf86-input-synaptics>0:x11-drivers/xf86-input-synaptics
LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libicuuc.so:devel/icu \
liboauth2plugin.so:sysutils/signon-plugin-oauth2 \
liboauth2plugin.so:sysutils/signon-plugin-oauth2@qt6 \
libwayland-client.so:graphics/wayland \
libxcb-util.so:x11/xcb-util \
libxkbcommon.so:x11/libxkbcommon \