git: 92fbf6b8f5e9 - main - sysutils/signon-plugin-oauth2: Deorbit Qt 5 flavor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jun 2026 21:16:59 UTC
The branch main has been updated by makc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=92fbf6b8f5e9967f4557c1e4a81ec68ff409dd66
commit 92fbf6b8f5e9967f4557c1e4a81ec68ff409dd66
Author: Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-06-22 21:15:05 +0000
Commit: Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-06-22 21:15:05 +0000
sysutils/signon-plugin-oauth2: Deorbit Qt 5 flavor
---
sysutils/signon-plugin-oauth2/Makefile | 23 +++++------------------
1 file changed, 5 insertions(+), 18 deletions(-)
diff --git a/sysutils/signon-plugin-oauth2/Makefile b/sysutils/signon-plugin-oauth2/Makefile
index 9f5ed241e90e..2d0589966703 100644
--- a/sysutils/signon-plugin-oauth2/Makefile
+++ b/sysutils/signon-plugin-oauth2/Makefile
@@ -1,25 +1,19 @@
PORTNAME= signon-plugin-oauth2
DISTVERSION= 0.25
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils kde
DISTNAME= archive
DIST_SUBDIR= KDE/${GL_ACCOUNT}
-PKGNAMESUFFIX= -${FLAVOR}
+PKGNAMESUFFIX= -qt6
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
-FLAVORS= qt5 qt6
-FLAVOR?= qt5
+LIB_DEPENDS= libsignon-qt6.so:sysutils/signond
-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}}
+USES= compiler:c++11-lang pkgconfig python qmake qt:6
+USE_QT= base
USE_LDCONFIG= ${PREFIX}/lib/signon
QMAKE_ENV= PREFIX=${PREFIX}
@@ -29,11 +23,4 @@ USE_GITLAB= yes
GL_ACCOUNT= nicolasfella
GL_TAGNAME= fab698862466994a8fdc9aa335c87b4f05430ce6
-# Fix for Qt5-5.13:
-# oauth2plugin.cpp:133:9: error: 'addQueryItem' is deprecated [-Werror,-Wdeprecated-declarations]
-# url.addQueryItem(CLIENT_ID, d->m_oauth2Data.ClientId());
-# ^
-post-patch:
- ${REINPLACE_CMD} '/-Werror/d' ${PATCH_WRKSRC}/common-project-config.pri
-
.include <bsd.port.mk>