aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-25 11:18:48 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-25 11:18:48 +0100
commit2020a76eb8fee7f89d6a213e97f76a34bec12af3 (patch)
tree10e821165f117c3ad584c586e620350cc2326149
parentkde-plasma/discover: Add IUSE=flatpak (diff)
downloadkde-2020a76eb8fee7f89d6a213e97f76a34bec12af3.tar.gz
kde-2020a76eb8fee7f89d6a213e97f76a34bec12af3.tar.bz2
kde-2020a76eb8fee7f89d6a213e97f76a34bec12af3.zip
kde-apps/ksudoku: Fix IUSE=-opengl and punt bogus Qt5Opengl
Bug: https://bugs.gentoo.org/751169 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/ksudoku/ksudoku-20.08.49.9999.ebuild6
-rw-r--r--kde-apps/ksudoku/ksudoku-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/kde-apps/ksudoku/ksudoku-20.08.49.9999.ebuild b/kde-apps/ksudoku/ksudoku-20.08.49.9999.ebuild
index a7d897b8a0..020a741846 100644
--- a/kde-apps/ksudoku/ksudoku-20.08.49.9999.ebuild
+++ b/kde-apps/ksudoku/ksudoku-20.08.49.9999.ebuild
@@ -44,10 +44,14 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+src_prepare() {
+ ecm_src_prepare
+ use opengl || ecm_punt_bogus_dep Qt5 OpenGL
+}
+
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package opengl OpenGL)
)
-
ecm_src_configure
}
diff --git a/kde-apps/ksudoku/ksudoku-9999.ebuild b/kde-apps/ksudoku/ksudoku-9999.ebuild
index 5548a83bee..00e23d5c3c 100644
--- a/kde-apps/ksudoku/ksudoku-9999.ebuild
+++ b/kde-apps/ksudoku/ksudoku-9999.ebuild
@@ -44,10 +44,14 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+src_prepare() {
+ ecm_src_prepare
+ use opengl || ecm_punt_bogus_dep Qt5 OpenGL
+}
+
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package opengl OpenGL)
)
-
ecm_src_configure
}