7d1faa7179
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is backwards-compatible (accepting any commit hash as before), but also understands an actual tag name. Moving to tag names where appropriate is left to individual ports' maintainers. Approved by: portmgr (tcberner, mentor) Differential Revision: https://reviews.freebsd.org/D37077
32 lines
915 B
Makefile
32 lines
915 B
Makefile
PORTNAME= signon-plugin-oauth2
|
|
DISTVERSION= 0.25
|
|
CATEGORIES= sysutils kde
|
|
DISTNAME= archive
|
|
DIST_SUBDIR= KDE/${GL_ACCOUNT}
|
|
|
|
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/signon-qt5
|
|
|
|
USES= compiler:c++11-lang pkgconfig python qmake qt:5
|
|
USE_QT= core network testlib \
|
|
buildtools:build qmake:build
|
|
USE_LDCONFIG= ${PREFIX}/lib/signon
|
|
|
|
QMAKE_ENV= PREFIX=${PREFIX}
|
|
|
|
# gitlab variables
|
|
USE_GITLAB= yes
|
|
GL_ACCOUNT= accounts-sso
|
|
GL_TAGNAME= 091887d09bb635fa31f69ed16d384563cddc8009
|
|
|
|
# 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>
|