void-packages/srcpkgs/plasma-workspace/template

51 lines
1.9 KiB
Bash

# Template file for 'plasma-workspace'
pkgname=plasma-workspace
version=5.27.11
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner
-DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules iso-codes pkg-config kdoctools kcoreaddons
qt5-wayland plasma-wayland-protocols gettext wayland-devel
kcmutils-devel kpackage-devel kconfig-devel kcoreaddons-devel plasma-framework"
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 prison-devel kholidays-devel ksolid-devel kpeople-devel
libXft-devel libkscreen-devel kactivities5-stats-devel
$(vopt_if pipewire kpipewire-devel)"
depends="kactivitymanagerd kwin iso-codes milou plasma-integration
kquickcharts qt5-wayland xorg-server-xwayland qt5-tools"
short_desc="KDE Window manager"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, GFDL-1.2-or-later, LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/plasma-workspace"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=07d69bc43660ec5335f250abb34c1059cef6cc64833838a7f0f749a4b4ee7add
build_options="pipewire"
build_options_default="pipewire"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
kworkspace_package() {
short_desc="Plasma Workspace Library for KF5"
pkg_install() {
vmove "usr/lib/libkworkspace5.so.5*"
}
}
plasma-workspace-devel_package() {
short_desc+=" - development"
depends="${makedepends} kworkspace>=${version}_${revision}
${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}