Files
rsadowski 69da3940d7 Import Qt6 SignOn
The SignOn daemon is a D-Bus service which performs user authentication on
behalf of its clients. There are currently authentication plugins for OAuth 1.0
and 2.0, SASL, Digest-MD5, and plain username/password combination.

Background informations:
SignOn decided depending on the QMake version whether it is a Qt5 or Qt6
target. That makes it a freak show to build it in a port.

This is not a gift for for all PACKAGE MAINTAINER. qmake <3

OK landry@
2024-04-16 19:50:12 +00:00

31 lines
718 B
Makefile

COMMENT = SignOn Daemon (Qt)
CATEGORIES = net
HOMEPAGE = https://accounts-sso.gitlab.io/
V = VERSION_8.61
DIST_TUPLE = gitlab nicolasfella signond \
c8ad98249af541514ff7a81634d3295e712f1a39 .
DISTNAME = signond-qt6-${V:S/VERSION_//}
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
SHARED_LIBS += signon-qt6 0.0 # 1.0
# LGPLv2.1+, GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} Qt6Core Qt6DBus m
MODULES = x11/qt6 \
devel/qmake
WRKDIST = ${WRKDIR}/signond-c8ad98249af541514ff7a81634d3295e712f1a39
pre-configure:
ln -sf ${LOCALBASE}/lib/qt6/bin/q{collection,help}generator ${WRKDIR}/bin/
${SUBST_CMD} ${WRKSRC}/lib/SignOn/SignOnQt6Config.cmake.in
.include <bsd.port.mk>