void-packages/srcpkgs/plasma-workspace/template
2018-11-23 13:53:20 -02:00

33 lines
1.3 KiB
Bash

# Template file for 'plasma-workspace'
pkgname=plasma-workspace
version=5.14.3
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules iso-codes pkg-config kdoctools kcoreaddons"
makedepends="qt5-devel qt5-declarative-devel qt5-script-devel plasma-framework-devel
krunner-devel kjsembed-devel knotifyconfig-devel kdesu-devel knewstuff-devel
kcmutils-devel kidletime-devel kdelibs4support-devel libksysguard-devel
baloo5-devel ktexteditor-devel kwin-devel libxcb-devel libXtst-devel
libqalculate-devel"
depends="kactivitymanagerd kwin iso-codes milou plasma-integration libxcb-devel"
short_desc="KDE Window manager"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later,GFDL-2.1, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/plasma-workspace"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=ee1c9614ae943662345c94e4dd1c2fa1544c50bb95a62cadb0c6c6c99ea63057
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi
plasma-workspace-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}