summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-10-25 11:38:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-10-25 11:47:49 +0100
commit2202c54cf5603b8b1c3edc8d78c973147bb44449 (patch)
tree373894a6029b7af4ac432d9fcba8f187255b3afd /kde-apps/ksudoku
parentdev-libs/elfutils: drop old (diff)
downloadgentoo-2202c54cf5603b8b1c3edc8d78c973147bb44449.tar.gz
gentoo-2202c54cf5603b8b1c3edc8d78c973147bb44449.tar.bz2
gentoo-2202c54cf5603b8b1c3edc8d78c973147bb44449.zip
kde-apps/ksudoku: Fix IUSE=-opengl and punt bogus Qt5Opengl
Closes: https://bugs.gentoo.org/751169 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ksudoku')
-rw-r--r--kde-apps/ksudoku/ksudoku-20.04.3.ebuild5
-rw-r--r--kde-apps/ksudoku/ksudoku-20.08.2.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/kde-apps/ksudoku/ksudoku-20.04.3.ebuild b/kde-apps/ksudoku/ksudoku-20.04.3.ebuild
index 43357c27ec45..e41bec2551ef 100644
--- a/kde-apps/ksudoku/ksudoku-20.04.3.ebuild
+++ b/kde-apps/ksudoku/ksudoku-20.04.3.ebuild
@@ -44,6 +44,11 @@ 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)
diff --git a/kde-apps/ksudoku/ksudoku-20.08.2.ebuild b/kde-apps/ksudoku/ksudoku-20.08.2.ebuild
index 6cf5550f7026..b165068b8559 100644
--- a/kde-apps/ksudoku/ksudoku-20.08.2.ebuild
+++ b/kde-apps/ksudoku/ksudoku-20.08.2.ebuild
@@ -44,6 +44,11 @@ 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)