From cbaac22a3a6681ae253b132e635491ff05b9da98 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 11 Nov 2019 08:19:35 +0100 Subject: [PATCH] kde-frameworks/breeze-icons: Add missing !test handling We don't inherit ecm.eclass so we need to do a bit extra. Closes: https://bugs.gentoo.org/699792 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner --- kde-frameworks/breeze-icons/breeze-icons-5.64.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.64.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.64.0.ebuild index 6d7d4db370aa..4a6392d4b772 100644 --- a/kde-frameworks/breeze-icons/breeze-icons-5.64.0.ebuild +++ b/kde-frameworks/breeze-icons/breeze-icons-5.64.0.ebuild @@ -19,6 +19,11 @@ DEPEND="test? ( dev-qt/qttest:5 )" RESTRICT+=" !test? ( test )" +src_prepare() { + cmake-utils_src_prepare + use test || cmake_comment_add_subdirectory autotests +} + src_configure() { local mycmakeargs=( -DBINARY_ICONS_RESOURCE=OFF -- 2.26.2