diff --git a/srcpkgs/signon-ui/template b/srcpkgs/signon-ui/template index 81209631fe0..744255a3ac8 100644 --- a/srcpkgs/signon-ui/template +++ b/srcpkgs/signon-ui/template @@ -1,18 +1,25 @@ # Template file for 'signon-ui' pkgname=signon-ui -version=0.15 +version=0.17 revision=1 +_commit="eef943f0edf3beee8ecb85d4a9dae3656002fc24" build_style=qmake -hostmakedepends="qt5-qmake pkg-config qt5-host-tools" -makedepends="libaccounts-qt5-devel libnotify-devel libproxy-devel - qt5-webkit-devel qt5-x11extras-devel signond-devel" +hostmakedepends="pkg-config qt6-base qt6-tools" +makedepends="libaccounts-qt6-devel libnotify-devel libproxy-devel + qt6-webengine-devel signond-devel" short_desc="Online Accounts Sign-on UI" maintainer="Piotr Wójcik " license="GPL-3.0-only" -homepage="https://launchpad.net/signon-ui" -distfiles="https://launchpad.net/signon-ui/trunk/${version}/+download/signon-ui-${version}.tar.bz2" -checksum=a14f0a82af129e33476e9d6839fa2d5e40c46a6e8bb71d7deb6255d995764af3 +homepage="https://gitlab.com/accounts-sso/signon-ui" +distfiles="https://gitlab.com/accounts-sso/signon-ui/-/archive/$_commit/signon-ui-$_commit.tar.gz" +checksum=0906a1adee88e331e9dcf1f2d5978c24f8564fb734f5c114c88bddb63196d3d4 +export QT=qt6 -post_install() { - rm "${DESTDIR}/usr/bin/signon-ui-unittest" +if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then + broken="no qt6-webengine" +fi + +post_patch() { + # Don't build tests, they still require Webkit + vsed -e "s|src \\\|src|" -e "/tests/d" -i signon-ui.pro }