void-packages/srcpkgs/plasma-workspace/template

57 lines
2.2 KiB
Bash

# Template file for 'plasma-workspace'
pkgname=plasma-workspace
version=6.0.5.1
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins -DKF6_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules iso-codes pkg-config gettext
qt6-base qt6-tools SPIRV-Tools qt6-shadertools kf6-kcmutils kf6-kconfig
qt6-declarative-host-tools
kf6-kpackage kf6-kauth-tools wayland-devel qt6-wayland-tools"
makedepends="qt6-declarative-devel libplasma-devel
kf6-krunner-devel kf6-knotifyconfig-devel kf6-kdesu-devel kf6-knewstuff-devel
kf6-kcmutils-devel kf6-kidletime-devel libksysguard-devel
kf6-baloo-devel kf6-ktexteditor-devel kwin-devel libxcb-devel libXtst-devel
libqalculate-devel kf6-prison-devel kf6-kholidays-devel kf6-solid-devel
kf6-kpeople-devel kf6-kunitconversion-devel kf6-kstatusnotifieritem-devel
libXft-devel libkf6screen-devel plasma5support-devel
plasma-activities-stats-devel kf6-kwallet-devel plasma-activities-devel
kf6-kded-devel kf6-networkmanager-qt-devel kf6-kirigami-devel
kf6-kuserfeedback-devel phonon-devel polkit-qt6-devel
$(vopt_if pipewire kpipewire-devel) kirigami-addons-devel libkexiv2-devel"
depends="kactivitymanagerd kwin iso-codes milou plasma-integration
qt6-wayland xorg-server-xwayland qt6-tools kf6-kquickcharts kirigami-addons"
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:0:5}/${pkgname}-${version}.tar.xz"
checksum=8907f9fded5fc6e5d95355f8346328de18d7c8850dabd9109d75458d5aeed813
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 KF6"
pkg_install() {
vmove "usr/lib/libkworkspace6.so.6*"
}
}
plasma-workspace-devel_package() {
short_desc+=" - development files"
depends="${makedepends} kworkspace>=${version}_${revision}
${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}