From: Andreas Sturmlechner Date: Mon, 11 Nov 2019 07:25:13 +0000 (+0100) Subject: kde-frameworks/oxygen-icons: Add missing !test handling X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=30c244054624d95523d68e02be763943c47bfc35;p=gentoo.git kde-frameworks/oxygen-icons: Add missing !test handling We don't inherit ecm.eclass so we need to do a bit extra. Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner --- diff --git a/kde-frameworks/oxygen-icons/oxygen-icons-5.64.0.ebuild b/kde-frameworks/oxygen-icons/oxygen-icons-5.64.0.ebuild index f6a1cd6cecba..e821e17f2db4 100644 --- a/kde-frameworks/oxygen-icons/oxygen-icons-5.64.0.ebuild +++ b/kde-frameworks/oxygen-icons/oxygen-icons-5.64.0.ebuild @@ -21,3 +21,8 @@ BDEPEND=" DEPEND="test? ( dev-qt/qttest:5 )" RESTRICT+=" !test? ( test )" + +src_prepare() { + cmake-utils_src_prepare + use test || cmake_comment_add_subdirectory autotests +}