signon-plugin-oauth2: fix conflict with kaccounts-providers
closes #13092
This commit is contained in:
parent
55d5bf012d
commit
8dded5bac3
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'signon-plugin-oauth2'
|
||||
pkgname=signon-plugin-oauth2
|
||||
version=0.24
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="signon-plugin-oauth2-VERSION_${version}"
|
||||
build_style=qmake
|
||||
configure_args="LIBDIR=/usr/lib"
|
||||
|
@ -14,6 +14,10 @@ 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
|
||||
|
||||
pre_configure() {
|
||||
vsed -i common-project-config.pri -e 's/ -Werror/& -Wno-error=deprecated-declarations/'
|
||||
}
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5"
|
||||
for i in ${XBPS_CROSS_BASE}/usr/include/qt5/*; do
|
||||
|
@ -23,4 +27,6 @@ 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
Add a link
Reference in a new issue