void-packages/srcpkgs/plasma-workspace/template

55 lines
2.3 KiB
Bash

# Template file for 'plasma-workspace'
pkgname=plasma-workspace
version=6.1.1
revision=1
build_style=cmake
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 qt6-base-private-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-ksvg-devel kf6-kdeclarative-devel kf6-kwayland-devel
kscreenlocker-devel plasma-wayland-protocols
kf6-kuserfeedback-devel phonon-devel polkit-qt6-devel qt6-wayland-private-devel
kpipewire-devel kirigami-addons-devel libkexiv2-devel qcoro-qt6-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=47d2c42bdf8c127fa1656f65baa9828f9890cffd3f416b0af9e056cf228c07ee
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//private-} kworkspace>=${version}_${revision}
${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}