From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 210F7138334 for ; Sun, 24 Jun 2018 17:46:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4E78E088C; Sun, 24 Jun 2018 17:46:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79EDAE088C for ; Sun, 24 Jun 2018 17:46:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3F28335CAB for ; Sun, 24 Jun 2018 17:46:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65813312 for ; Sun, 24 Jun 2018 17:46:20 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1529862324.148a8177855184a1d69402bfedfdd554c331e1c1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kinfocenter/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/kinfocenter/kinfocenter-5.12.5.ebuild X-VCS-Directories: kde-plasma/kinfocenter/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 148a8177855184a1d69402bfedfdd554c331e1c1 X-VCS-Branch: master Date: Sun, 24 Jun 2018 17:46:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a6b57a44-cdb5-4a00-9082-64f6a1b67ce4 X-Archives-Hash: cf1d2e06d0adb28c647551089214f0ff commit: 148a8177855184a1d69402bfedfdd554c331e1c1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jun 24 17:44:00 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 24 17:45:24 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148a8177 kde-plasma/kinfocenter: Fix cmake warning Reported-by: Francesco Turco fastmail.fm> Closes: https://bugs.gentoo.org/658980 Package-Manager: Portage-2.3.40, Repoman-2.3.9 kde-plasma/kinfocenter/kinfocenter-5.12.5.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kde-plasma/kinfocenter/kinfocenter-5.12.5.ebuild b/kde-plasma/kinfocenter/kinfocenter-5.12.5.ebuild index 6b359cfb845..9a294aaa46f 100644 --- a/kde-plasma/kinfocenter/kinfocenter-5.12.5.ebuild +++ b/kde-plasma/kinfocenter/kinfocenter-5.12.5.ebuild @@ -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 }