# Description: OAuth 2 plugin for signon # URL: https://gitlab.com/accounts-sso/signon-plugin-oauth2 # Maintainer: CRUX KDE Ports, kde-ports at crux dot nu # Depends on: signond name=signon-plugin-oauth2 version=0.25 release=1 source=(https://gitlab.com/nicolasfella/signon-plugin-oauth2/-/archive/VERSION_$version/$name-VERSION_$version.tar.bz2 sync.patch 28.patch) build() { cd $name-VERSION_$version patch -Np1 -i $SRC/sync.patch patch -Np1 -i $SRC/28.patch sed -i -e 's/src tests/src/g' -i signon-oauth2.pro sed -i -e '/-Werror/d' common-project-config.pri echo 'INSTALLS =' >>tests/tests.pro echo 'INSTALLS =' >>example/example.pr qmake6 PREFIX=/usr LIBDIR=/usr/lib \ QMAKE_CXXFLAGS+="-Wno-error=deprecated-declarations" CPPFLAGS="$CPPFLAGS -Wno-error" make make INSTALL_ROOT=$PKG install } # vim: set ts=4 et: