# Template file for 'plasma-vault'
pkgname=plasma-vault
version=5.13.5
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools"
makedepends="plasma-framework-devel libksysguard-devel networkmanager-qt5-devel"
short_desc="Plasma applet and services for creating encrypted vaults"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="GPL-2.0-or-later, LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/KDE/plasma-vault"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=1fb9959963704e2fb3fd3981626a87139276595d012dfb19b09ed58bcafa8580

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
	configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
	configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
