Skip to content

Commit

Permalink
kde-plasma/kinfocenter: Fix cmake warning
Browse files Browse the repository at this point in the history
Reported-by: Francesco Turco <[email protected]>
Closes: https://bugs.gentoo.org/658980
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
a17r committed Jun 24, 2018
1 parent dd20aab commit 148a817
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kde-plasma/kinfocenter/kinfocenter-5.12.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,18 @@ RDEPEND="${COMMON_DEPEND}

src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package gles2 OpenGLES)
$(cmake-utils_use_find_package ieee1394 RAW1394)
$(cmake-utils_use_find_package opengl OpenGL)
$(cmake-utils_use_find_package pci PCIUTILS)
$(cmake-utils_use_find_package wayland EGL)
$(cmake-utils_use_find_package wayland KF5Wayland)
)

if has_version "dev-qt/qtgui[gles2]"; then
mycmakeargs+=( $(cmake-utils_use_find_package gles2 OpenGLES) )
else
mycmakeargs+=( $(cmake-utils_use_find_package opengl OpenGL) )
fi

kde5_src_configure
}

Expand Down

0 comments on commit 148a817

Please sign in to comment.