summaryrefslogtreecommitdiff
path: root/kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-17 10:54:58 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-17 10:54:58 +0100
commit22f4c43e36d16c959d0cf789e2d38814e95585fa (patch)
tree96efd8613f6fe8dd1e36342f1802fad9bb5068f6 /kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild
parent5175439c1f9011884f35b32f02b6cbdaa8d10486 (diff)
kde-plasma/kinfocenter : adjust USE flags
Diffstat (limited to 'kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild')
-rw-r--r--kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild b/kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild
index 679d1d39..f9c75b8c 100644
--- a/kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-5.18.4.1-r10.ebuild
@@ -14,9 +14,9 @@ HOMEPAGE="https://userbase.kde.org/KInfoCenter"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS="~amd64"
-IUSE="gles2 ieee1394 +opengl +pci wayland"
+IUSE="gles2-only ieee1394 +opengl +pci wayland"
-REQUIRED_USE="wayland? ( || ( gles2 opengl ) )"
+REQUIRED_USE="wayland? ( || ( gles2-only opengl ) )"
BDEPEND=">=dev-util/cmake-3.14.3"
COMMON_DEPEND="
@@ -41,10 +41,11 @@ COMMON_DEPEND="
>=kde-frameworks/kxmlgui-${KFMIN}:5
>=kde-frameworks/solid-${KFMIN}:5
x11-libs/libX11
+ gles2-only? ( media-libs/mesa[gles2] )
ieee1394? ( sys-libs/libraw1394 )
opengl? (
media-libs/mesa[gles2?,X(+)]
- !gles2? ( media-libs/glu )
+ !gles2-only? ( media-libs/glu )
)
pci? ( sys-apps/pciutils )
wayland? (
@@ -69,7 +70,7 @@ src_configure() {
$(cmake_use_find_package wayland KF5Wayland)
)
- if has_version "dev-qt/qtgui[gles2]"; then
+ if has_version "dev-qt/qtgui[gles2-only]"; then
mycmakeargs+=( $(cmake_use_find_package gles2 OpenGLES) )
else
mycmakeargs+=( $(cmake_use_find_package opengl OpenGL) )