void-packages/srcpkgs/kaccounts-providers/template

32 lines
1.2 KiB
Bash

# Template file for 'kaccounts-providers'
pkgname=kaccounts-providers
version=24.05.1
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=2631768f22c39643cf7781e0080a0774196cfe648b29b7e00501b18142aa8de1
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