New package: signon-plugin-oauth2-0.24
This commit is contained in:
parent
6a3aaad0fe
commit
0389a3dcf0
1 changed files with 26 additions and 0 deletions
26
srcpkgs/signon-plugin-oauth2/template
Normal file
26
srcpkgs/signon-plugin-oauth2/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'signon-plugin-oauth2'
|
||||||
|
pkgname=signon-plugin-oauth2
|
||||||
|
version=0.24
|
||||||
|
revision=1
|
||||||
|
wrksrc="signon-plugin-oauth2-VERSION_${version}"
|
||||||
|
build_style=qmake
|
||||||
|
configure_args="LIBDIR=/usr/lib"
|
||||||
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
|
||||||
|
makedepends="qt5-devel signond-devel"
|
||||||
|
short_desc="OAuth 1.0/2.0 plugin for the SignOn daemon"
|
||||||
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
|
license="LGPL-2.1-only"
|
||||||
|
homepage="https://gitlab.com/accounts-sso/signon-plugin-oauth2"
|
||||||
|
distfiles="https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/archive/VERSION_${version}/signon-plugin-oauth2-VERSION_${version}.tar.bz2"
|
||||||
|
checksum=d37f6c93b6cd2885b517fd93cdb2407b0164655454ded2ed56e41704f81f05c4
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
|
||||||
|
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
|
||||||
|
CXXFLAGS+=" -I$i"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm "${DESTDIR}/usr/bin/signon-oauth2plugin-tests"
|
||||||
|
}
|
Loading…
Reference in a new issue