commit:     4a2c435600c3af3b36907e40702fbd692581c520
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 14:12:26 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 14:40:54 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=4a2c4356

kde-plasma/kwayland-integration: Drop idletime plugin

>=kde-frameworks/kidletime-5.99[wayland] now contains a replacement
plugin so we can disable it here to only keep windowsystem plugin.

Bug: https://bugs.gentoo.org/790275
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kwayland-integration/kwayland-integration-9999.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/kde-plasma/kwayland-integration/kwayland-integration-9999.ebuild 
b/kde-plasma/kwayland-integration/kwayland-integration-9999.ebuild
index 9a5a9a0827..d1307c47d3 100644
--- a/kde-plasma/kwayland-integration/kwayland-integration-9999.ebuild
+++ b/kde-plasma/kwayland-integration/kwayland-integration-9999.ebuild
@@ -3,9 +3,7 @@
 
 EAPI=8
 
-ECM_TEST="true"
 KFMIN=9999
-PVCUT=$(ver_cut 1-3)
 QTMIN=5.15.5
 inherit ecm plasma.kde.org
 
@@ -17,22 +15,20 @@ SLOT="5"
 KEYWORDS=""
 IUSE=""
 
-RESTRICT="test" # bug 668872
-
 # dev-qt/qtgui: QtXkbCommonSupport is provided by either IUSE libinput or X
 # slot ops:
+# dev-qt/qtgui: QtXkbCommonSupportPrivate
 # dev-qt/qtwayland: Qt::WaylandClientPrivate (private/qwayland*_p.h) stuff
-# kde-frameworks/kidletime: KIdleTime/private/abstractsystempoller.h
 # kde-frameworks/kwindowsystem: Various private headers
 DEPEND="
        >=dev-libs/wayland-1.15
+       >=dev-qt/qtgui-${QTMIN}:5=
        || (
                >=dev-qt/qtgui-${QTMIN}:5[libinput]
                >=dev-qt/qtgui-${QTMIN}:5[X]
        )
        >=dev-qt/qtwidgets-${QTMIN}:5
        >=dev-qt/qtwayland-${QTMIN}:5=
-       >=kde-frameworks/kidletime-${KFMIN}:5=
        >=kde-frameworks/kwayland-${KFMIN}:5
        >=kde-frameworks/kwindowsystem-${KFMIN}:5=
        x11-libs/libxkbcommon
@@ -42,3 +38,10 @@ BDEPEND="
        >=dev-qt/qtwaylandscanner-${QTMIN}:5
        virtual/pkgconfig
 "
+
+src_prepare() {
+       ecm_src_prepare
+       ecm_punt_kf_module IdleTime
+       cmake_comment_add_subdirectory autotests # only contains idletime test
+       cmake_run_in src cmake_comment_add_subdirectory idletime
+}

Reply via email to