commit:     30c244054624d95523d68e02be763943c47bfc35
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 07:25:13 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 07:34:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c24405

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 <asturm <AT> gentoo.org>

 kde-frameworks/oxygen-icons/oxygen-icons-5.64.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

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 f6a1cd6cecb..e821e17f2db 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
+}

Reply via email to