diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-06-11 20:12:23 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-06-12 17:28:03 +0200 |
commit | f99d2ac639d7e7caeb2f2100602be1df9e34a37c (patch) | |
tree | b3e913f8df7ed651ca24b0bfbf979c3a3617c8fa /kde-frameworks/breeze-icons | |
parent | kde-frameworks/breeze-icons: 6.3.0 version bump (diff) | |
download | gentoo-f99d2ac639d7e7caeb2f2100602be1df9e34a37c.tar.gz gentoo-f99d2ac639d7e7caeb2f2100602be1df9e34a37c.tar.bz2 gentoo-f99d2ac639d7e7caeb2f2100602be1df9e34a37c.zip |
kde-frameworks/breeze-icons: use BUILD_TESTING option for tests
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/breeze-icons')
-rw-r--r-- | kde-frameworks/breeze-icons/breeze-icons-5.116.0.ebuild | 6 | ||||
-rw-r--r-- | kde-frameworks/breeze-icons/breeze-icons-6.3.0.ebuild | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.116.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.116.0.ebuild index da876a1dbb42..b8dd6f72b45f 100644 --- a/kde-frameworks/breeze-icons/breeze-icons-5.116.0.ebuild +++ b/kde-frameworks/breeze-icons/breeze-icons-5.116.0.ebuild @@ -31,15 +31,11 @@ python_check_deps() { python_has_version "dev-python/lxml[${PYTHON_USEDEP}]" } -src_prepare() { - cmake_src_prepare - use test || cmake_comment_add_subdirectory autotests -} - src_configure() { local mycmakeargs=( -DPython_EXECUTABLE="${PYTHON}" -DBINARY_ICONS_RESOURCE=OFF + -DBUILD_TESTING=$(usex test) ) cmake_src_configure } diff --git a/kde-frameworks/breeze-icons/breeze-icons-6.3.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-6.3.0.ebuild index c2010d331162..1819a6f0bd21 100644 --- a/kde-frameworks/breeze-icons/breeze-icons-6.3.0.ebuild +++ b/kde-frameworks/breeze-icons/breeze-icons-6.3.0.ebuild @@ -31,11 +31,6 @@ python_check_deps() { python_has_version "dev-python/lxml[${PYTHON_USEDEP}]" } -src_prepare() { - cmake_src_prepare - use test || cmake_comment_add_subdirectory autotests -} - src_configure() { # bug #931904 filter-lto @@ -44,6 +39,7 @@ src_configure() { -DPython_EXECUTABLE="${PYTHON}" -DBINARY_ICONS_RESOURCE=ON # TODO: remove when kexi was ported away -DSKIP_INSTALL_ICONS=OFF + -DBUILD_TESTING="$(usex test)" ) cmake_src_configure } |