From 6106db41ae7ca182a67d54d15865f03931f683d3 Mon Sep 17 00:00:00 2001 From: Luciogi Date: Sat, 9 Mar 2024 14:41:22 +0500 Subject: [PATCH] signon-plugin-oauth2: update to 0.25. --- srcpkgs/signon-plugin-oauth2/template | 29 +++++++++++++-------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/srcpkgs/signon-plugin-oauth2/template b/srcpkgs/signon-plugin-oauth2/template index faaa235fee4..2248b7aa1a2 100644 --- a/srcpkgs/signon-plugin-oauth2/template +++ b/srcpkgs/signon-plugin-oauth2/template @@ -1,31 +1,30 @@ # Template file for 'signon-plugin-oauth2' pkgname=signon-plugin-oauth2 -version=0.24 -revision=2 +version=0.25 +revision=1 +_commit=fab698862466994a8fdc9aa335c87b4f05430ce6 build_style=qmake configure_args="LIBDIR=/usr/lib" -hostmakedepends="pkg-config qt5-host-tools qt5-qmake" -makedepends="qt5-devel signond-devel" +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 " 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 +#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() { - 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 - CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5" - for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do + CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt6" + for i in ${XBPS_CROSS_BASE}/usr/include/qt6/*; do CXXFLAGS+=" -I$i" done 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" -}