From 9be76b1a45de787bf8e56c5329c83f2e9dda2de3 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 25 Jan 2025 13:48:38 +0100 Subject: [PATCH] media-gfx/krita: Uncoditionally disable build of benchmarks dir Conditional upstream on BUILD_TESTING, but tests are restricted anyway, while at least still building fine after this. Closes: https://bugs.gentoo.org/939842 Signed-off-by: Andreas Sturmlechner --- media-gfx/krita/krita-5.2.6.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/media-gfx/krita/krita-5.2.6.ebuild b/media-gfx/krita/krita-5.2.6.ebuild index 057f0f3539d7f..00fbf4b56f358 100644 --- a/media-gfx/krita/krita-5.2.6.ebuild +++ b/media-gfx/krita/krita-5.2.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -107,6 +107,11 @@ pkg_setup() { ecm_pkg_setup } +src_prepare() { + ecm_src_prepare + cmake_comment_add_subdirectory benchmarks # bug 939842 +} + src_configure() { # Prevent sandbox violation from FindPyQt5.py module # See Gentoo-bug 655918