void-packages/srcpkgs/signon-ui/template

26 lines
870 B
Bash

# Template file for 'signon-ui'
pkgname=signon-ui
version=0.17
revision=1
_commit="eef943f0edf3beee8ecb85d4a9dae3656002fc24"
build_style=qmake
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 <chocimier@tlen.pl>"
license="GPL-3.0-only"
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
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
}