void-packages/srcpkgs/kaccounts-integration/template

38 lines
1.3 KiB
Bash

# Template file for 'kaccounts-integration'
pkgname=kaccounts-integration
version=23.08.5
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-host-tools qt5-qmake
kcoreaddons libaccounts-qt5-devel signond-devel gettext kpackage kcmutils"
makedepends="kcmutils-devel kparts-devel libaccounts-qt5-devel signond-devel qcoro-qt5-devel"
depends="kinit signon-plugin-oauth2 signon-kwallet-extension
kf6-kaccounts-integration"
short_desc="Administer web accounts for sites and services across the KDE desktop"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/network/kaccounts-integration"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kaccounts-integration"
distfiles="${KDE_SITE}/release-service/${version}/src/kaccounts-integration-${version}.tar.xz"
checksum=c02ee25495c387dfc9c7581babd4756e04d7c3dae68bffd1652cf418e1d129b9
# depends on webengine
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
depends+=" signon-ui"
fi
post_install() {
# Pulled by kf6-kaccounts-integration
rm -rf "${DESTDIR}/usr/share/locale"
}
kaccounts-integration-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}