Skip to content

Commit

Permalink
kde-plasma/kinfocenter: Sync with gles2-only setup in 5.18.4.1
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Apr 3, 2020
1 parent 9b84da5 commit f780877
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions kde-plasma/kinfocenter/kinfocenter-5.17.5-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BDEPEND=">=dev-util/cmake-3.14.3"
COMMON_DEPEND="
>=dev-qt/qtdbus-${QTMIN}:5
>=dev-qt/qtdeclarative-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5[gles2-only=]
>=dev-qt/qtwidgets-${QTMIN}:5
>=kde-frameworks/kcmutils-${KFMIN}:5
>=kde-frameworks/kcompletion-${KFMIN}:5
Expand All @@ -42,10 +42,9 @@ 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? (
>=dev-qt/qtgui-${QTMIN}:5[gles2-only=]
gles2-only? ( media-libs/mesa[gles2,X(+)] )
!gles2-only? ( media-libs/glu )
)
pci? ( sys-apps/pciutils )
Expand All @@ -70,7 +69,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) )
Expand Down

0 comments on commit f780877

Please sign in to comment.