summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-11 08:25:13 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-11 08:34:08 +0100
commit30c244054624d95523d68e02be763943c47bfc35 (patch)
treeb47a011a6fe7cda85a3124e5b970a7c4bbed4173 /kde-frameworks
parentkde-frameworks/breeze-icons-rcc: Add missing !test handling (diff)
downloadgentoo-30c244054624d95523d68e02be763943c47bfc35.tar.gz
gentoo-30c244054624d95523d68e02be763943c47bfc35.tar.bz2
gentoo-30c244054624d95523d68e02be763943c47bfc35.zip
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@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/oxygen-icons/oxygen-icons-5.64.0.ebuild5
1 files changed, 5 insertions, 0 deletions
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
+}