summaryrefslogtreecommitdiff
path: root/kde-plasma/kwin
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/kwin')
-rw-r--r--kde-plasma/kwin/Manifest2
-rw-r--r--kde-plasma/kwin/kwin-6.2.2-r1.ebuild (renamed from kde-plasma/kwin/kwin-6.2.2.ebuild)16
2 files changed, 13 insertions, 5 deletions
diff --git a/kde-plasma/kwin/Manifest b/kde-plasma/kwin/Manifest
index a12689d7e4cf..ccae756638da 100644
--- a/kde-plasma/kwin/Manifest
+++ b/kde-plasma/kwin/Manifest
@@ -1,5 +1,5 @@
DIST kwin-6.1.5.tar.xz 8503432 BLAKE2B 8cd8da89f93ac64dbb8a42e90a09a188b86762440964d4e9425a924f0349360bcf31f187fcfb66b61fca42db44f93c97f313703c5b602e873035bec86f36b0b1 SHA512 a71d1f814c948293d5552504115178f20e7450ead86c57b0fda79584f613fbc77851d1735945f7f05bf0b6b8c09cdacf53154820176d133f41ec736ae1492946
DIST kwin-6.2.2.tar.xz 8556692 BLAKE2B 29c54e7cb9e3e78b5b883b17ed5096ca82ca6ee24d1bb2449afead544371a0736346a23bc43f492838a701759824d787fcd4c70dcb97c70f9c72b76e542988cc SHA512 f6fbfb763fcd3eda08e8bfe86e47fcc07f21b473da56ae6ff58fe4601f319ccf09c05eac663512b4b3c41d38232f89b87264f33e922cd14e719e8ae12809da18
EBUILD kwin-6.1.5.ebuild 4140 BLAKE2B c584a1db6c3f94f4ed52aa28f632e51e0cd51679f3c948cc305481d2d0aecaad73c8772a6d7f1c309afb64fff772412aa33318ef60b1c8d1506dc345c78d5676 SHA512 cfabdb37724a800ae099b95dfa7c69cd0111d3a4be2691e104f56ac72559373fceded84014a6fddebd9b35b0e7a28b27edce0c6a1ae0bd8296b23150298475bd
-EBUILD kwin-6.2.2.ebuild 4216 BLAKE2B a5c08d52a9e06d1b84f5428e5f87c8042d7a83b316002336ad47303208cf79f95dbe4d0284ed58bcb8f9f9feee5fd408e42cb0fe4fce82a724c79b52c166a46a SHA512 35af7311ce69de07174e697b11ab84d05d56269e239e0a680e5f1307f6cee43ef0a089d2405460f7d7dff6ddca0921d41129639947737cc62f3d358acb631982
+EBUILD kwin-6.2.2-r1.ebuild 4385 BLAKE2B b95256b5c8c1854643163c117b382c790e88db6a3a8ca503669d66061368682e2703ae6899fccb5681cfcd5805b689ef6bda39da41f182af0cb3e0ac60f83dc4 SHA512 6f1706e228d4dd375b2874179b2499d42ae2657ad34cd9a714c1c9bd3386ca9d0bf1811ca4bb2586effbca12048d36396d1a33a80676f2bedcabd66ad7074936
MISC metadata.xml 677 BLAKE2B 050345f8f8f489b3cb81e112c05fddedc738c8f136d409b8754c54494a02caf5671a66dd1ecd7cfb91f24ab11210c67f78c09c928a4daf16b3512600649551c5 SHA512 5134373a0ce30f351344c07df4a68f97a15bf3bdb061ba8ff3355a42da2281d64bb506cdcb5b1dad698fc2061b4a4a92e054e08c521acb327b84f968a7d936dc
diff --git a/kde-plasma/kwin/kwin-6.2.2.ebuild b/kde-plasma/kwin/kwin-6.2.2-r1.ebuild
index 769ee649f291..60593edc4573 100644
--- a/kde-plasma/kwin/kwin-6.2.2.ebuild
+++ b/kde-plasma/kwin/kwin-6.2.2-r1.ebuild
@@ -8,14 +8,14 @@ ECM_TEST="true"
KFMIN=6.6.0
PVCUT=$(ver_cut 1-3)
QTMIN=6.7.2
-inherit ecm plasma.kde.org
+inherit ecm fcaps plasma.kde.org
DESCRIPTION="Flexible, composited Window Manager for windowing systems on Linux"
LICENSE="GPL-2+"
SLOT="6"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="accessibility +caps gles2-only lock screencast +shortcuts systemd"
+IUSE="accessibility gles2-only lock screencast +shortcuts systemd"
RESTRICT="test"
@@ -106,7 +106,6 @@ DEPEND="${COMMON_DEPEND}
>=dev-qt/qtwayland-${QTMIN}:6
x11-base/xorg-proto
x11-libs/xcb-util-image
- caps? ( sys-libs/libcap )
test? ( screencast? ( >=kde-plasma/kpipewire-${PVCUT}:6 ) )
"
BDEPEND="
@@ -115,6 +114,10 @@ BDEPEND="
>=kde-frameworks/kcmutils-${KFMIN}:6
"
+# https://bugs.gentoo.org/941628
+# -m 0755 to avoid suid with USE="-filecaps"
+FILECAPS=( -m 0755 cap_sys_nice=ep usr/bin/kwin_wayland )
+
src_prepare() {
ecm_src_prepare
@@ -134,10 +137,15 @@ src_configure() {
# TODO: KWIN_BUILD_X11=$(usex xwayland) KWIN_BUILD_X11_BACKEND=$(usex X)
# KWIN_BUILD_NOTIFICATIONS exists, but kdeclarative still hard-depends on it
$(cmake_use_find_package accessibility QAccessibilityClient6)
- $(cmake_use_find_package caps Libcap)
+ -DCMAKE_DISABLE_FIND_PACKAGE_Libcap=ON
-DKWIN_BUILD_SCREENLOCKER=$(usex lock)
-DKWIN_BUILD_GLOBALSHORTCUTS=$(usex shortcuts)
)
ecm_src_configure
}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+ fcaps_pkg_postinst
+}