31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'signon-plugin-oauth2'
|
|
pkgname=signon-plugin-oauth2
|
|
version=0.25
|
|
revision=1
|
|
_commit=fab698862466994a8fdc9aa335c87b4f05430ce6
|
|
build_style=qmake
|
|
configure_args="LIBDIR=/usr/lib"
|
|
hostmakedepends="pkg-config qt6-base"
|
|
makedepends="qt6-base-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"
|
|
distfiles="https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/archive/$_commit/signon-plugin-oauth2-$_commit.tar.gz"
|
|
checksum=5a1298cc49f504503f54f20f0f5f685e43f541244a654dd3da58951f43782625
|
|
export QT=qt6
|
|
|
|
pre_configure() {
|
|
# Don't install tests and example
|
|
echo 'INSTALLS =' >> tests/tests.pro
|
|
echo 'INSTALLS =' >> example/example.pro
|
|
}
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt6"
|
|
for i in ${XBPS_CROSS_BASE}/usr/include/qt6/*; do
|
|
CXXFLAGS+=" -I$i"
|
|
done
|
|
fi
|