commit:     547e9fde71cd4d55a116db65e96b92a41bf1d23e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 13:19:25 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 13:19:29 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=547e9fde

kde-plasma/kinfocenter: remove X USE flag

Building with USE="-X opengl" causes a build failure. Additionally, the
X-Server information screen is not removed - it remains, but empty.

Gentoo-bug: 580472

Package-Manager: portage-2.2.28

 kde-plasma/kinfocenter/kinfocenter-5.6.49.9999.ebuild | 5 ++---
 kde-plasma/kinfocenter/kinfocenter-9999.ebuild        | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/kde-plasma/kinfocenter/kinfocenter-5.6.49.9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-5.6.49.9999.ebuild
index 12a10e1..ce14538 100644
--- a/kde-plasma/kinfocenter/kinfocenter-5.6.49.9999.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-5.6.49.9999.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="A utility that provides information about a 
computer system"
 HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/";
 SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> 
glogo-small.png"
 KEYWORDS=""
-IUSE="egl gles ieee1394 +opengl +pci samba nfs wayland X"
+IUSE="egl gles ieee1394 +opengl +pci samba nfs wayland"
 
 REQUIRED_USE="egl? ( || ( gles opengl ) )"
 
@@ -36,6 +36,7 @@ COMMON_DEPEND="
        $(add_qt_dep qtdeclarative)
        $(add_qt_dep qtgui 'opengl(+)')
        $(add_qt_dep qtwidgets)
+       x11-libs/libX11
        gles? (
                $(add_qt_dep qtgui 'gles2')
                || (
@@ -52,7 +53,6 @@ COMMON_DEPEND="
        pci? ( sys-apps/pciutils )
        samba? ( net-fs/samba[server(+)] )
        wayland? ( $(add_plasma_dep kwayland) )
-       X? ( x11-libs/libX11 )
 "
 DEPEND="${COMMON_DEPEND}
        $(add_frameworks_dep plasma)
@@ -72,7 +72,6 @@ src_configure() {
                $(cmake-utils_use_find_package opengl OpenGL)
                $(cmake-utils_use_find_package pci PCIUTILS)
                $(cmake-utils_use_find_package wayland KF5Wayland)
-               $(cmake-utils_use_find_package X X11)
        )
 
        kde5_src_configure

diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
index 12a10e1..ce14538 100644
--- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="A utility that provides information about a 
computer system"
 HOMEPAGE="https://www.kde.org/applications/system/kinfocenter/";
 SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> 
glogo-small.png"
 KEYWORDS=""
-IUSE="egl gles ieee1394 +opengl +pci samba nfs wayland X"
+IUSE="egl gles ieee1394 +opengl +pci samba nfs wayland"
 
 REQUIRED_USE="egl? ( || ( gles opengl ) )"
 
@@ -36,6 +36,7 @@ COMMON_DEPEND="
        $(add_qt_dep qtdeclarative)
        $(add_qt_dep qtgui 'opengl(+)')
        $(add_qt_dep qtwidgets)
+       x11-libs/libX11
        gles? (
                $(add_qt_dep qtgui 'gles2')
                || (
@@ -52,7 +53,6 @@ COMMON_DEPEND="
        pci? ( sys-apps/pciutils )
        samba? ( net-fs/samba[server(+)] )
        wayland? ( $(add_plasma_dep kwayland) )
-       X? ( x11-libs/libX11 )
 "
 DEPEND="${COMMON_DEPEND}
        $(add_frameworks_dep plasma)
@@ -72,7 +72,6 @@ src_configure() {
                $(cmake-utils_use_find_package opengl OpenGL)
                $(cmake-utils_use_find_package pci PCIUTILS)
                $(cmake-utils_use_find_package wayland KF5Wayland)
-               $(cmake-utils_use_find_package X X11)
        )
 
        kde5_src_configure

Reply via email to