commit:     959ff56929c61ec45e1f1e7b84da66437be5c894
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 11:54:43 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 12:05:43 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=959ff569

kde-frameworks/kwindowsystem: Add IUSE wayland to pull in runtime plugin

All other plugins from kde-plasma/kwayland-integration went into respective
Frameworks packages and only the kwindowsystem plugin remains, which makes
this possible to depend on. It is necessary because kwindowsystem consumers
will need the wayland runtime plugin even on non-Plasma systems.

This is not exactly pretty but the same exception as dev-qt/qtgui[wayland].

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

 kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild 
b/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild
index e81605d171..c3c41d309f 100644
--- a/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild
+++ b/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="Framework providing access to properties and 
features of the window
 
 LICENSE="|| ( LGPL-2.1 LGPL-3 ) MIT"
 KEYWORDS=""
-IUSE="X"
+IUSE="wayland X"
 
 RESTRICT="test"
 
@@ -30,6 +30,7 @@ DEPEND="${RDEPEND}
        test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )
 "
 BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
+PDEPEND="wayland? ( >=kde-plasma/kwayland-integration-5.25.5-r1:5 )"
 
 DOCS=( docs/README.kstartupinfo )
 

Reply via email to