diff --git a/srcpkgs/kwin/INSTALL b/srcpkgs/kwin/INSTALL new file mode 100644 index 00000000000..3a59ffc63f4 --- /dev/null +++ b/srcpkgs/kwin/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + setcap CAP_SYS_NICE=+ep usr/bin/kwin_wayland + ;; +esac diff --git a/srcpkgs/kwin/template b/srcpkgs/kwin/template index bd5ef3a9776..2ca7460e709 100644 --- a/srcpkgs/kwin/template +++ b/srcpkgs/kwin/template @@ -1,29 +1,28 @@ # Template file for 'kwin' pkgname=kwin -version=5.25.3 +version=5.26.0 revision=1 build_style=cmake build_helper=qemu -configure_args="-DBUILD_TESTING=OFF - -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson - -DFORCE_CROSSCOMPILED_TOOLS=ON" +configure_args="-DBUILD_TESTING=OFF -DFORCE_CROSSCOMPILED_TOOLS=ON + -DKF5_HOST_TOOLING=/usr/lib/cmake" hostmakedepends="extra-cmake-modules gettext breeze pkg-config qt5-qmake qt5-host-tools kcoreaddons kconfig-devel qt5-wayland - kwayland-devel kpackage-devel kservice-devel" + kwayland-devel kpackage-devel kservice-devel kcmutils-devel" makedepends="plasma-framework-devel kcmutils-devel knewstuff-devel kscreenlocker-devel kinit-devel xcb-util-cursor-devel qt5-multimedia-devel kdecoration-devel libxkbcommon-devel libinput-devel libSM-devel - libICE-devel xcb-util-wm-devel qt5-sensors-devel libcap-devel lcms2-devel + libICE-devel xcb-util-wm-devel qt5-sensors-devel lcms2-devel pipewire-devel krunner-devel xorg-server-xwayland libxcvt-devel hwids libatomic-devel" depends="breeze hicolor-icon-theme kinit qt5-core>=5.15.2<5.16.0 - hwids" + hwids libcap-progs" short_desc="KDE Window manager" maintainer="John " license="GPL-2.0-or-later" homepage="https://invent.kde.org/plasma/kwin" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" -checksum=52927c7b6a2f28c6b8a515b1eb6f7faeacdc0d53321290887ebaffb9ab2fd0ef +checksum=3a9f4769c08c568397fbf956019c00de3086a18a263f2a1a2738fd4b344029fd replaces="kwayland-server>=0" kwin-devel_package() {