mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
signon-plugin-oauth2: update to 0.25.
This commit is contained in:
parent
2ec9a136ac
commit
6106db41ae
1 changed files with 14 additions and 15 deletions
|
@ -1,31 +1,30 @@
|
||||||
# Template file for 'signon-plugin-oauth2'
|
# Template file for 'signon-plugin-oauth2'
|
||||||
pkgname=signon-plugin-oauth2
|
pkgname=signon-plugin-oauth2
|
||||||
version=0.24
|
version=0.25
|
||||||
revision=2
|
revision=1
|
||||||
|
_commit=fab698862466994a8fdc9aa335c87b4f05430ce6
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
configure_args="LIBDIR=/usr/lib"
|
configure_args="LIBDIR=/usr/lib"
|
||||||
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
|
hostmakedepends="pkg-config qt6-base"
|
||||||
makedepends="qt5-devel signond-devel"
|
makedepends="qt6-base-devel signond-devel"
|
||||||
short_desc="OAuth 1.0/2.0 plugin for the SignOn daemon"
|
short_desc="OAuth 1.0/2.0 plugin for the SignOn daemon"
|
||||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
license="LGPL-2.1-only"
|
license="LGPL-2.1-only"
|
||||||
homepage="https://gitlab.com/accounts-sso/signon-plugin-oauth2"
|
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/VERSION_${version}/signon-plugin-oauth2-VERSION_${version}.tar.bz2"
|
||||||
checksum=d37f6c93b6cd2885b517fd93cdb2407b0164655454ded2ed56e41704f81f05c4
|
distfiles="https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/archive/$_commit/signon-plugin-oauth2-$_commit.tar.gz"
|
||||||
|
checksum=5a1298cc49f504503f54f20f0f5f685e43f541244a654dd3da58951f43782625
|
||||||
|
export QT=qt6
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -i common-project-config.pri -e 's/ -Werror/& -Wno-error=deprecated-declarations/'
|
# Don't install tests and example
|
||||||
|
echo 'INSTALLS =' >> tests/tests.pro
|
||||||
|
echo 'INSTALLS =' >> example/example.pro
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt6"
|
||||||
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
|
for i in ${XBPS_CROSS_BASE}/usr/include/qt6/*; do
|
||||||
CXXFLAGS+=" -I$i"
|
CXXFLAGS+=" -I$i"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_install() {
|
|
||||||
rm "${DESTDIR}/usr/bin/signon-oauth2plugin-tests"
|
|
||||||
# conflict with kaccounts-providers, this file is less useful
|
|
||||||
rm "${DESTDIR}/etc/signon-ui/webkit-options.d/www.facebook.com.conf"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue