kde-frameworks/breeze-icons-rcc: Add missing !test handling
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 11 Nov 2019 07:20:05 +0000 (08:20 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 11 Nov 2019 07:33:31 +0000 (08:33 +0100)
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>
kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.64.0.ebuild

index 45f63f53d74f9284503caaebce38937eebe1d049..2a78bd8dcfae42b6f3d3354ae4a3b07605bc7475 100644 (file)
@@ -20,6 +20,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=ON