void-packages/srcpkgs/kdeplasma-addons5/template
2020-01-09 03:42:23 +01:00

27 lines
987 B
Bash

# Template file for 'kdeplasma-addons5'
pkgname=kdeplasma-addons5
version=5.17.5
revision=1
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kcoreaddons
gettext"
makedepends="kross-devel kdesignerplugin-devel kdoctools-devel kholidays-devel
plasma-workspace-devel purpose-devel"
short_desc="Various Plasma addons"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/kdeplasma-addons"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname%5}-${version}.tar.xz"
checksum=997d6a3542ab1f1fd7fb17580693dc8281ff29b03c82577dbae3fc1ec4cccdb8
case "$XBPS_TARGET_MACHINE" in
armv[56]*) broken="xorg-server-xwayland is not available"
;;
esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi