void-packages/srcpkgs/kf6-kaccounts-integration/template

36 lines
1.4 KiB
Bash

# Template file for 'kf6-kaccounts-integration'
pkgname=kf6-kaccounts-integration
version=24.08.0
revision=1
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules pkg-config qt6-base gettext
kf6-kpackage kf6-kcmutils qt6-declarative-host-tools"
makedepends="kf6-kcmutils-devel kf6-kparts-devel libaccounts-qt6-devel
signond-devel qcoro-qt6-devel kf6-ki18n-devel"
depends="signon-plugin-oauth2 signon-kwallet-extension"
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=fb21d2435b2aaa9960fed9660a9cd56b7702080c4e99f9a207e6c1ba8d52b3f4
# depends on webengine
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
depends+=" signon-ui"
fi
kf6-kaccounts-integration-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}