void-packages/srcpkgs/kwin/template

45 lines
2.0 KiB
Bash

# Template file for 'kwin'
pkgname=kwin
version=6.1.1.2
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DFORCE_CROSSCOMPILED_TOOLS=ON
-DKF6_HOST_TOOLING=/usr/lib/cmake -DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules gettext pkg-config kf6-kauth-tools
qt6-base qt6-tools libcap-progs kf6-kconfig kf6-kpackage kf6-kcmutils
qt6-wayland-tools kf6-kirigami-devel libcap-devel"
makedepends="libplasma-devel kf6-kcmutils-devel kf6-knewstuff-devel
kscreenlocker-devel kglobalacceld-devel xcb-util-cursor-devel qt6-wayland-devel
qt6-base-private-devel plasma-wayland-protocols qt6-declarative-devel
kf6-kconfig-devel kf6-kcoreaddons-devel kf6-kwindowsystem-devel
wayland-devel libepoxy-devel qt6-tools-devel plasma-activities-devel
libei-devel
qt6-multimedia-devel kf6-kdecoration-devel libxkbcommon-devel libinput-devel
libSM-devel libICE-devel xcb-util-wm-devel qt6-sensors-devel lcms2-devel
pipewire-devel kf6-krunner-devel xorg-server-xwayland libxcvt-devel hwids
libdisplay-info-devel breeze-qt6 kf6-kwayland-devel libcap-devel
libqaccessibilityclient-devel qt6-declarative-devel kf6-kirigami-devel
kf6-kpackage-devel kf6-kauth-devel kf6-kconfig-devel"
depends="breeze-qt6 hicolor-icon-theme kglobalacceld hwids libcap-progs"
short_desc="KDE Window manager"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/kwin"
distfiles="${KDE_SITE}/plasma/${version:0:5}/${pkgname}-${version}.tar.xz"
checksum=1cf0e4d996ccd92a77b6a725610ca32a60c2fae08a98f8b72f2aaf1569464c39
replaces="kwayland-server>=0"
kwin-devel_package() {
short_desc+=" - development"
depends="${sourcepkg}-${version}_${revision} qt6-base-devel
qt6-declarative-devel kf6-kconfig-devel kf6-kcoreaddons-devel
kf6-kwindowsystem-devel wayland-devel libepoxy-devel"
replaces="kwayland-server-devel>=0"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}