From 2202c54cf5603b8b1c3edc8d78c973147bb44449 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 25 Oct 2020 11:38:19 +0100 Subject: 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 --- kde-apps/ksudoku/ksudoku-20.04.3.ebuild | 5 +++++ kde-apps/ksudoku/ksudoku-20.08.2.ebuild | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'kde-apps/ksudoku') 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) -- cgit v1.2.3-65-gdbad