void-packages/srcpkgs/kaccounts-providers/template

32 lines
1.2 KiB
Bash

# Template file for 'kaccounts-providers'
pkgname=kaccounts-providers
version=24.08.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules intltool qt6-tools
kf6-kpackage pkg-config kf6-kcoreaddons libaccounts-qt6-devel signond-devel"
makedepends="kf6-kparts-devel kf6-kpackage-devel kf6-kaccounts-integration-devel
glib-devel libaccounts-qt6-devel signond-devel"
short_desc="KDE Accounts Providers"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/network/kaccounts-providers"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kaccounts-providers"
distfiles="${KDE_SITE}/release-service/${version}/src/kaccounts-providers-${version}.tar.xz"
checksum=ee36674c6e8f0fe1f48258ffa892f7c6d4945ce1332e9dfb89943c2a7a71d952
build_options="nextcloud"
desc_option_nextcloud="Build nextcloud support (needs Qt6 WebEngine)"
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
[ "$XBPS_WORDSIZE" != 32 ] &&
[ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
build_options_default+=" nextcloud"
fi
if [ "$build_option_nextcloud" ]; then
makedepends+=" qt6-webchannel-devel qt6-webengine-devel"
fi