commit:     09847462a8e1cd97c7a68fefe2e9fa5aaa1d2f3e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  2 08:56:39 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Sep 24 08:42:18 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=09847462

kde-frameworks/plasma: Fix build with USE -X

Upstream commit d674a99d19efcad866a773fe6c848a7626a61c0a

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

 kde-frameworks/plasma/plasma-9999.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kde-frameworks/plasma/plasma-9999.ebuild 
b/kde-frameworks/plasma/plasma-9999.ebuild
index 9ee0971aaf..0d0132ba95 100644
--- a/kde-frameworks/plasma/plasma-9999.ebuild
+++ b/kde-frameworks/plasma/plasma-9999.ebuild
@@ -41,7 +41,7 @@ RDEPEND="
        =kde-frameworks/kpackage-${PVCUT}*:5
        =kde-frameworks/kservice-${PVCUT}*:5
        =kde-frameworks/kwidgetsaddons-${PVCUT}*:5
-       =kde-frameworks/kwindowsystem-${PVCUT}*:5
+       =kde-frameworks/kwindowsystem-${PVCUT}*:5[X?]
        =kde-frameworks/kxmlgui-${PVCUT}*:5
        !gles2-only? ( media-libs/libglvnd[X?] )
        wayland? (
@@ -65,8 +65,7 @@ src_configure() {
                $(cmake_use_find_package man KF5DocTools)
                $(cmake_use_find_package wayland EGL)
                $(cmake_use_find_package wayland KF5Wayland)
-               $(cmake_use_find_package X X11)
-               $(cmake_use_find_package X XCB)
+               -DWITHOUT_X11=$(usex !X)
        )
 
        ecm_src_configure

Reply via email to