From e93a38d535f2c29b55a5756d2de99425986b0bf3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 11 Aug 2024 11:06:02 +0100 Subject: gentoo auto-resync : 11:08:2024 - 11:06:01 --- kde-plasma/Manifest.gz | Bin 11479 -> 11483 bytes kde-plasma/kinfocenter/Manifest | 4 +- .../kinfocenter/kinfocenter-5.27.11-r1.ebuild | 21 ++- kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild | 21 ++- kde-plasma/kwin/Manifest | 3 +- .../kwin/files/kwin-6.1.4-screenedge-dnd.patch | 34 +++++ kde-plasma/kwin/kwin-6.1.4-r1.ebuild | 145 +++++++++++++++++++++ kde-plasma/kwin/kwin-6.1.4.ebuild | 143 -------------------- 8 files changed, 213 insertions(+), 158 deletions(-) create mode 100644 kde-plasma/kwin/files/kwin-6.1.4-screenedge-dnd.patch create mode 100644 kde-plasma/kwin/kwin-6.1.4-r1.ebuild delete mode 100644 kde-plasma/kwin/kwin-6.1.4.ebuild (limited to 'kde-plasma') diff --git a/kde-plasma/Manifest.gz b/kde-plasma/Manifest.gz index d44a55cd882c..f033bd0b23de 100644 Binary files a/kde-plasma/Manifest.gz and b/kde-plasma/Manifest.gz differ diff --git a/kde-plasma/kinfocenter/Manifest b/kde-plasma/kinfocenter/Manifest index 8f8c0e3f7a58..3c1b6d16d606 100644 --- a/kde-plasma/kinfocenter/Manifest +++ b/kde-plasma/kinfocenter/Manifest @@ -2,6 +2,6 @@ AUX kcm-about-distrorc 108 BLAKE2B 9324829040a699d8858a739b228b14035f8a33d4cc5e1 DIST glogo-small.png 24583 BLAKE2B 0af2ceae708e56f217120e5d8b880fb71401e3761ab26c4af5e74c0622368aa4e34b05160fae15fbfbbc832077810ab5c1e424826632748299fd22997cbe665c SHA512 648be463ec3812a2edcdab54d7a230bf2bd7e6895f4ffe72321d8fca28a5e1e0980f6e3b9a32f369c8369943ceb802a65a94b9dad820dcf2c81d4581d814cb48 DIST kinfocenter-5.27.11.tar.xz 1018276 BLAKE2B 921832d3c52abfe35d3b77f34161c630d54c6fe8675eac6b2dcc343ab21b7c30b501216c9762aa90a8f5bfc036d2d8859a7419478ec38a85afcbf90315788cc1 SHA512 24a9df9fb28637e39293669569e4be896956ecfc3a27719821a1498f541aed220e7ebcd0e1a0b63051562690a9400b7fefc9c1217763c87009745e886573205e DIST kinfocenter-6.1.4.tar.xz 718988 BLAKE2B bb19b650bde8349046cb8b0c7871904a4457e1f7fe3e97740378e1239affa74028632da22aceafb930e6a72000949f57d9479f05f336111750412ecc96f2a7e3 SHA512 8d0af559f43f7af0972539fd3de9835ae804a369670cdc6c93b8e56c2ea01eda1bb3e3c0471e1f4047df8de6bbbb4e446fb65f6821adc3858afe64a2ee9149a2 -EBUILD kinfocenter-5.27.11-r1.ebuild 2554 BLAKE2B e5e366e054a34bd8ec97403559d75d9baa611eef038c83fb84297c7a5bad91e9ed0b77777026c0b034c856977bddff2867a0b04db53179d1e769d377a9775bfc SHA512 f09104d97e5c78cae0fa6672cc1aa8dd26e3562dde1be26767ebe1005ecfff53ee8c9446d8035d1c3443069af806bddb3ddb10cf13fe202e3c454ac3e63ffc08 -EBUILD kinfocenter-6.1.4.ebuild 2409 BLAKE2B 8e8020556731a908dc8053a0eba3475f42a5c317ea3baae1651d7292d27ae1ae38b30654a4c799c4c640194b2c789170d7fc5d60b3b398dcdd38ef81d586072e SHA512 d5390f1815e628aba98043034d5979262ad13f9a6227ad09bed1b9b09b007103147bee16142b3df36ad9994e8b5a66b396e1f5955c2a7ecce0edfc7c7352e67b +EBUILD kinfocenter-5.27.11-r1.ebuild 2927 BLAKE2B 6fe909ac2ce93a8aa064db4af3612861fe98eaf94f1a7686e9d59e33e540958528e1a25ee5f3b48164f203cf09c0e307ca8c6cf2d26b0eba8cf86c915e8d8f12 SHA512 7be6bb7480f4f59adc50e7fcf80e60696e4259bfbf3e37b7032a2d5dd7dc67991a1321dfccbcb2208454abca54828828d6ad9cbffffd700a62105ca3bdbd0372 +EBUILD kinfocenter-6.1.4.ebuild 2782 BLAKE2B 1b26a08cfff6dd1bcee5672a18aa0a1d63a9c3f23ddb8023614b15b19c82d501740e2b0256619d39b77a9cf03e2ce30a16f2d8a0d06a562c23b15ec7a6f3c071 SHA512 61d1a5430ed092d912d729b9690388649d62f287c7033a2757e6c92a794ab5614dafcc36acd3a048197830b6cc8579450e027e3fb215d1e135a15a080884da94 MISC metadata.xml 387 BLAKE2B f03ad4c31bb639282d7c79e13fe8e6a79979350e30c7894bd7d83d80ae30358743ba87e8d6356dcc4fe97a51b8859e8185b779e811a4548e38e4f78f1c27446f SHA512 85da5fc7415747c5eece521eb789eb164153637144b15dc900121320f38f9e7ce3b857c38e18401a9710a9818a81260a6b90b5cc55fb63a409aba8c35e3f082b diff --git a/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild b/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild index eee4b3aa6454..c6f477ccd032 100644 --- a/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild +++ b/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild @@ -76,15 +76,24 @@ src_install() { pkg_postinst() { if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature_header "Query network filesystem info:" optfeature "NFS information module" net-fs/nfs-utils optfeature "Samba status information module" net-fs/samba - optfeature "Vulkan graphics API information module" dev-util/vulkan-tools + optfeature_header "Query firmware/hardware info:" + fi + optfeature "System DMI table readout" sys-apps/dmidecode + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "Firmware security module" "app-text/aha sys-apps/fwupd" + optfeature "PCI devices information module" sys-apps/pciutils optfeature "advanced CPU information module" sys-apps/util-linux + optfeature_header "Query GPU/graphics support info:" + fi + optfeature "OpenCL information module" dev-util/clinfo + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "OpenGL information module" x11-apps/mesa-progs + optfeature "Vulkan graphics API information module" dev-util/vulkan-tools + optfeature "Wayland information module" app-misc/wayland-utils + optfeature "X Server information module" x11-apps/xdpyinfo fi - optfeature "Wayland information module" app-misc/wayland-utils - optfeature "Firmware security module" "app-text/aha sys-apps/fwupd" - optfeature "OpenGL information module" x11-apps/mesa-progs - optfeature "PCI devices information module" sys-apps/pciutils - optfeature "X Server information module" x11-apps/xdpyinfo ecm_pkg_postinst } diff --git a/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild b/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild index 63e2962238cb..3bf0f0d92113 100644 --- a/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild +++ b/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild @@ -73,15 +73,24 @@ src_install() { pkg_postinst() { if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature_header "Query network filesystem info:" optfeature "NFS information module" net-fs/nfs-utils optfeature "Samba status information module" net-fs/samba - optfeature "Vulkan graphics API information module" dev-util/vulkan-tools + optfeature_header "Query firmware/hardware info:" + fi + optfeature "System DMI table readout" sys-apps/dmidecode + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "Firmware security module" "app-text/aha sys-apps/fwupd" + optfeature "PCI devices information module" sys-apps/pciutils optfeature "advanced CPU information module" sys-apps/util-linux + optfeature_header "Query GPU/graphics support info:" + fi + optfeature "OpenCL information module" dev-util/clinfo + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "OpenGL information module" x11-apps/mesa-progs + optfeature "Vulkan graphics API information module" dev-util/vulkan-tools + optfeature "Wayland information module" app-misc/wayland-utils + optfeature "X Server information module" x11-apps/xdpyinfo fi - optfeature "Wayland information module" app-misc/wayland-utils - optfeature "Firmware security module" "app-text/aha sys-apps/fwupd" - optfeature "OpenGL information module" x11-apps/mesa-progs - optfeature "PCI devices information module" sys-apps/pciutils - optfeature "X Server information module" x11-apps/xdpyinfo ecm_pkg_postinst } diff --git a/kde-plasma/kwin/Manifest b/kde-plasma/kwin/Manifest index e9ceddc0be85..c68873258a05 100644 --- a/kde-plasma/kwin/Manifest +++ b/kde-plasma/kwin/Manifest @@ -1,6 +1,7 @@ AUX kwin-5.26.80-gstreamer-optional.patch 948 BLAKE2B 880e77ce6462c115953471dfd4985cc4891a05a910323c1760e01870f04a6930d6d4680811701e12094f1bc3eabbba6b097535408b9148dea4beca31496c7e35 SHA512 66e839c7d603873d675b96430ae48d89366a7f1c5019686c9471ef4fd66449bc4bc22752856665a5d90ab8e503e40d307c4671ac0c2f2991b869e211f7b46c86 +AUX kwin-6.1.4-screenedge-dnd.patch 1347 BLAKE2B f54f43135efa888f9f7d42e440fdad98674f5eedc2513f96cebbdd5648f88ebe19dd5b388c6e3e9eeb11a9186268c83622c4ce7386bf541fa1da8d3c10363745 SHA512 c117a3550c7813f62e4dfb7f6a5bb2230e9b916e46db15907236c010d64335848d4439eaa360ed8729a418beac4034d6d4903b01e0e56f3d0469d2edcba3ecc3 DIST kwin-5.27.11.tar.xz 7644856 BLAKE2B a21fa8d60418bf109b3f651f266185b1e97bdc92e7c7d7ab4b73271d91e8c2b629fd22851b3fff88d7ecd8277fdd8a70bf1c3bd93aa1e379377b86f56cfe2bd2 SHA512 8c76695f71ce67142d16ad16aed342375ae3aefa59ff2628a28003025701bc6b48999adaac79fc5ab09ec22c8d8407fc29f011fd3da6f992c36531fd6c3fc37b DIST kwin-6.1.4.tar.xz 8499248 BLAKE2B f455ee5da1ab735237581b41c3a423e3768443270e294ee1bd974f3f59bc72adf9d67939a27761dff51c2781df5f278b2fcf40f3b768e4bffaa1712934932894 SHA512 f7d512e633ec153f19b2f76f781d67a6c5f9b97df81205cf6e3cca227185b2764ffa612f0d1c0a528a37964dfcf3c6ac060c062ae8d653997057555cfd477090 EBUILD kwin-5.27.11-r1.ebuild 4305 BLAKE2B f6aacf67667be303f5bf6cf328a186f113d458560f6438c65ec1e0ea12b47d4585ac9abcb510cf817c99fd00685e2de2cf6b2b1a7e2647e0d888c4b0923e1beb SHA512 ce094346e507377f8b1d3e30ed2154886ea3195aeaf5790331e7f0e8f963841837363ab353e70b73bf1ea70b189743121c5bdf53447ba42ae815dddfabe24fea -EBUILD kwin-6.1.4.ebuild 4190 BLAKE2B 8da1b32be1eb61f79fcd70120c6fa983313627bd2ab30d19192bfbc4f21a12a12e1375c4229fc28ab1745d37212fa9af05d4b2af2b0f5838bfd1f4352f7ea676 SHA512 51e62291439d1fdf272099602df53b040d751cfdb6ad5db896bf5c6698d0e5f432120421b42f5f35022707289bced65b69f901636ee128889f1bb4e48310c356 +EBUILD kwin-6.1.4-r1.ebuild 4283 BLAKE2B 08484f21dc30009c650279eb9ae452e6378069019f6ffce2f2a081ff7a2c0a58c689a7d2b5acf9cc1432b7d28ba33752325742c63174e1e43fab7ee3756077cc SHA512 c66b1ec2f88972dcad63c4585ff7211cd523d39af82b0870c8701c6a714e0c288ae4657983a8cbd08e9b8b6c3d4144968bddf795fd1840ef6241d83574e02424 MISC metadata.xml 760 BLAKE2B 3592da53cc329bc726ca8d4a33e6f4af27fb40c0bf3ce4e4d30374b5a704d29bb787d9a9b84f5352deb9627130912a7832aa8d0c9261970a5179ecbafcba1a28 SHA512 20892d3ff5e1dd1980e83006ee3b07b06f48bc4f0af8d2204a41a62c7768552a14208d19408852c619b10b1e83deda93c9f7e4ca68c5ea9d1bf04312770c74cf diff --git a/kde-plasma/kwin/files/kwin-6.1.4-screenedge-dnd.patch b/kde-plasma/kwin/files/kwin-6.1.4-screenedge-dnd.patch new file mode 100644 index 000000000000..864835bee661 --- /dev/null +++ b/kde-plasma/kwin/files/kwin-6.1.4-screenedge-dnd.patch @@ -0,0 +1,34 @@ +From d85dd623d7315f2e620c2c37e635f2fd3737a684 Mon Sep 17 00:00:00 2001 +From: Yifan Zhu +Date: Wed, 7 Aug 2024 16:54:44 +0000 +Subject: [PATCH] screenedge: allow activating clients in drag and drop + +In particular, this allows dragging onto autohide and dogde-window +panels. + +BUG: 450579 + + +(cherry picked from commit 7752db3a882b5432d7d5c0b118acf42eeb3a8aee) + +Co-authored-by: Yifan Zhu +--- + src/screenedge.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/screenedge.cpp b/src/screenedge.cpp +index de9f55dcb69..b1b2a29f9e3 100644 +--- a/src/screenedge.cpp ++++ b/src/screenedge.cpp +@@ -244,7 +244,7 @@ bool Edge::activatesForPointer() const + // Most actions do not handle drag and drop properly yet + // but at least allow "show desktop" and "application launcher". + if (waylandServer() && waylandServer()->seat()->isDragPointer()) { +- if (!m_edges->isDesktopSwitching() && m_action != ElectricActionShowDesktop && m_action != ElectricActionApplicationLauncher) { ++ if (!m_edges->isDesktopSwitching() && m_action != ElectricActionNone && m_action != ElectricActionShowDesktop && m_action != ElectricActionApplicationLauncher) { + return false; + } + // Don't activate edge when a mouse button is pressed, except when +-- +GitLab + diff --git a/kde-plasma/kwin/kwin-6.1.4-r1.ebuild b/kde-plasma/kwin/kwin-6.1.4-r1.ebuild new file mode 100644 index 000000000000..b759cc819a2d --- /dev/null +++ b/kde-plasma/kwin/kwin-6.1.4-r1.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="true" +KFMIN=6.5.0 # bug 933271 +PVCUT=$(ver_cut 1-3) +QTMIN=6.7.2 +inherit ecm 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" + +RESTRICT="test" + +# qtbase slot op: GuiPrivate use in tabbox +COMMON_DEPEND=" + dev-libs/libei + >=dev-libs/libinput-1.19:= + >=dev-libs/wayland-1.22.0 + >=dev-qt/qt5compat-${QTMIN}:6[qml] + >=dev-qt/qtbase-${QTMIN}:6=[accessibility=,gles2-only=,gui,libinput,opengl,widgets] + >=dev-qt/qtdeclarative-${QTMIN}:6 + >=dev-qt/qtsensors-${QTMIN}:6 + >=dev-qt/qtshadertools-${QTMIN}:6 + >=kde-frameworks/kauth-${KFMIN}:6 + >=kde-frameworks/kcmutils-${KFMIN}:6 + >=kde-frameworks/kcolorscheme-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6[qml] + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/kdeclarative-${KFMIN}:6 + >=kde-frameworks/kglobalaccel-${KFMIN}:6=[X(+)] + >=kde-frameworks/kguiaddons-${KFMIN}:6[wayland] + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kidletime-${KFMIN}:6=[wayland] + >=kde-frameworks/knewstuff-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/kpackage-${KFMIN}:6 + >=kde-frameworks/kservice-${KFMIN}:6 + >=kde-frameworks/ksvg-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6=[wayland,X] + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-plasma/breeze-${PVCUT}:6 + >=kde-plasma/kdecoration-${PVCUT}:6 + >=kde-plasma/kwayland-${PVCUT}:6 + >=kde-plasma/plasma-activities-${PVCUT}:6 + media-libs/fontconfig + media-libs/freetype + media-libs/lcms:2 + media-libs/libdisplay-info:= + media-libs/libepoxy + media-libs/libglvnd + >=media-libs/mesa-21.3[egl(+),gbm(+),wayland,X] + virtual/libudev:= + x11-libs/libX11 + x11-libs/libXi + >=x11-libs/libdrm-2.4.116 + >=x11-libs/libxcb-1.10:= + >=x11-libs/libxcvt-0.1.1 + >=x11-libs/libxkbcommon-1.5.0 + x11-libs/xcb-util-cursor + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-wm + accessibility? ( media-libs/libqaccessibilityclient:6 ) + gles2-only? ( || ( + >=media-libs/mesa-24.1.0_rc1[opengl] + =kde-plasma/kscreenlocker-${PVCUT}:6 ) + screencast? ( >=media-video/pipewire-0.3:= ) + shortcuts? ( >=kde-plasma/kglobalacceld-${PVCUT}:6 ) +" +RDEPEND="${COMMON_DEPEND} + !kde-plasma/kdeplasma-addons:5 + !kde-plasma/kwayland-server + >=dev-qt/qtmultimedia-${QTMIN}:6[qml] + || ( + dev-qt/qtmultimedia:6[ffmpeg] + ( + dev-qt/qtmultimedia:6[gstreamer] + media-plugins/gst-plugins-soup:1.0 + ) + ) + >=kde-frameworks/kirigami-${KFMIN}:6 + >=kde-frameworks/kitemmodels-${KFMIN}:6 + >=kde-plasma/libplasma-${PVCUT}:6[wayland(+)] + sys-apps/hwdata + x11-base/xwayland[libei] +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/plasma-wayland-protocols-1.13.0 + >=dev-libs/wayland-protocols-1.34 + >=dev-qt/qttools-${QTMIN}:6[widgets] + >=dev-qt/qtbase-${QTMIN}:6[concurrent] + >=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=" + >=dev-qt/qtwayland-${QTMIN}:6 + dev-util/wayland-scanner + >=kde-frameworks/kcmutils-${KFMIN}:6 +" +PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:*" + +PATCHES=( "${FILESDIR}/${P}-screenedge-dnd.patch" ) # KDE-bug 450579, in 6.1.5 + +src_prepare() { + ecm_src_prepare + + # TODO: try to get a build switch upstreamed + if ! use screencast; then + sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die + fi + + # TODO: try to get a build switch upstreamed + if ! use systemd; then + sed -e "s/^pkg_check_modules.*libsystemd/#&/" -i CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + # TODO: KWIN_BUILD_X11? + # KWIN_BUILD_NOTIFICATIONS exists, but kdeclarative still hard-depends on it + $(cmake_use_find_package accessibility QAccessibilityClient6) + $(cmake_use_find_package caps Libcap) + -DKWIN_BUILD_SCREENLOCKER=$(usex lock) + -DKWIN_BUILD_GLOBALSHORTCUTS=$(usex shortcuts) + ) + + ecm_src_configure +} diff --git a/kde-plasma/kwin/kwin-6.1.4.ebuild b/kde-plasma/kwin/kwin-6.1.4.ebuild deleted file mode 100644 index 267307cdc655..000000000000 --- a/kde-plasma/kwin/kwin-6.1.4.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="optional" -ECM_TEST="true" -KFMIN=6.3.0 -PVCUT=$(ver_cut 1-3) -QTMIN=6.7.1 -inherit ecm 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" - -RESTRICT="test" - -# qtbase slot op: GuiPrivate use in tabbox -COMMON_DEPEND=" - dev-libs/libei - >=dev-libs/libinput-1.19:= - >=dev-libs/wayland-1.22.0 - >=dev-qt/qt5compat-${QTMIN}:6[qml] - >=dev-qt/qtbase-${QTMIN}:6=[accessibility=,gles2-only=,gui,libinput,opengl,widgets] - >=dev-qt/qtdeclarative-${QTMIN}:6 - >=dev-qt/qtsensors-${QTMIN}:6 - >=dev-qt/qtshadertools-${QTMIN}:6 - >=kde-frameworks/kauth-${KFMIN}:6 - >=kde-frameworks/kcmutils-${KFMIN}:6 - >=kde-frameworks/kcolorscheme-${KFMIN}:6 - >=kde-frameworks/kconfig-${KFMIN}:6[qml] - >=kde-frameworks/kconfigwidgets-${KFMIN}:6 - >=kde-frameworks/kcoreaddons-${KFMIN}:6 - >=kde-frameworks/kcrash-${KFMIN}:6 - >=kde-frameworks/kdbusaddons-${KFMIN}:6 - >=kde-frameworks/kdeclarative-${KFMIN}:6 - >=kde-frameworks/kglobalaccel-${KFMIN}:6=[X(+)] - >=kde-frameworks/kguiaddons-${KFMIN}:6[wayland] - >=kde-frameworks/ki18n-${KFMIN}:6 - >=kde-frameworks/kidletime-${KFMIN}:6=[wayland] - >=kde-frameworks/knewstuff-${KFMIN}:6 - >=kde-frameworks/knotifications-${KFMIN}:6 - >=kde-frameworks/kpackage-${KFMIN}:6 - >=kde-frameworks/kservice-${KFMIN}:6 - >=kde-frameworks/ksvg-${KFMIN}:6 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 - >=kde-frameworks/kwindowsystem-${KFMIN}:6=[wayland,X] - >=kde-frameworks/kxmlgui-${KFMIN}:6 - >=kde-plasma/breeze-${PVCUT}:6 - >=kde-plasma/kdecoration-${PVCUT}:6 - >=kde-plasma/kwayland-${PVCUT}:6 - >=kde-plasma/plasma-activities-${PVCUT}:6 - media-libs/fontconfig - media-libs/freetype - media-libs/lcms:2 - media-libs/libdisplay-info:= - media-libs/libepoxy - media-libs/libglvnd - >=media-libs/mesa-21.3[egl(+),gbm(+),wayland,X] - virtual/libudev:= - x11-libs/libX11 - x11-libs/libXi - >=x11-libs/libdrm-2.4.116 - >=x11-libs/libxcb-1.10:= - >=x11-libs/libxcvt-0.1.1 - >=x11-libs/libxkbcommon-1.5.0 - x11-libs/xcb-util-cursor - x11-libs/xcb-util-keysyms - x11-libs/xcb-util-wm - accessibility? ( media-libs/libqaccessibilityclient:6 ) - gles2-only? ( || ( - >=media-libs/mesa-24.1.0_rc1[opengl] - =kde-plasma/kscreenlocker-${PVCUT}:6 ) - screencast? ( >=media-video/pipewire-0.3:= ) - shortcuts? ( >=kde-plasma/kglobalacceld-${PVCUT}:6 ) -" -RDEPEND="${COMMON_DEPEND} - !kde-plasma/kdeplasma-addons:5 - !kde-plasma/kwayland-server - >=dev-qt/qtmultimedia-${QTMIN}:6[qml] - || ( - dev-qt/qtmultimedia:6[ffmpeg] - ( - dev-qt/qtmultimedia:6[gstreamer] - media-plugins/gst-plugins-soup:1.0 - ) - ) - >=kde-frameworks/kirigami-${KFMIN}:6 - >=kde-frameworks/kitemmodels-${KFMIN}:6 - >=kde-plasma/libplasma-${PVCUT}:6[wayland(+)] - sys-apps/hwdata - x11-base/xwayland[libei] -" -DEPEND="${COMMON_DEPEND} - >=dev-libs/plasma-wayland-protocols-1.13.0 - >=dev-libs/wayland-protocols-1.34 - >=dev-qt/qttools-${QTMIN}:6[widgets] - >=dev-qt/qtbase-${QTMIN}:6[concurrent] - >=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=" - >=dev-qt/qtwayland-${QTMIN}:6 - dev-util/wayland-scanner - >=kde-frameworks/kcmutils-${KFMIN}:6 -" -PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:*" - -src_prepare() { - ecm_src_prepare - - # TODO: try to get a build switch upstreamed - if ! use screencast; then - sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die - fi - - # TODO: try to get a build switch upstreamed - if ! use systemd; then - sed -e "s/^pkg_check_modules.*libsystemd/#&/" -i CMakeLists.txt || die - fi -} - -src_configure() { - local mycmakeargs=( - # TODO: KWIN_BUILD_X11? - # KWIN_BUILD_NOTIFICATIONS exists, but kdeclarative still hard-depends on it - $(cmake_use_find_package accessibility QAccessibilityClient6) - $(cmake_use_find_package caps Libcap) - -DKWIN_BUILD_SCREENLOCKER=$(usex lock) - -DKWIN_BUILD_GLOBALSHORTCUTS=$(usex shortcuts) - ) - - ecm_src_configure -} -- cgit v1.2.3