diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-07-08 17:28:03 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-07-08 18:03:34 +0200 |
commit | 9a3fed0ecbb6f45c7a93a70f8c87dab2b8347288 (patch) | |
tree | c7992555d575bfaa1f0fc2539b19b846a4f88550 /kde-frameworks/extra-cmake-modules | |
parent | kde-frameworks/breeze-icons-rcc: 5.108.0 version bump (diff) | |
download | gentoo-9a3fed0ecbb6f45c7a93a70f8c87dab2b8347288.tar.gz gentoo-9a3fed0ecbb6f45c7a93a70f8c87dab2b8347288.tar.bz2 gentoo-9a3fed0ecbb6f45c7a93a70f8c87dab2b8347288.zip |
kde-frameworks/extra-cmake-modules: 5.108.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/extra-cmake-modules')
-rw-r--r-- | kde-frameworks/extra-cmake-modules/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.108.0.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest index 2e4b0c2f0c4b..493e0ebcdc9b 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -1,2 +1,3 @@ DIST extra-cmake-modules-5.106.0.tar.xz 331532 BLAKE2B 27858e7a9eddde4258af323e7ced82988844b11a948cb78b5f91dba04057944a8dbc2a73775d837941553f7289a96fcdee4060746fe321d12eb2a3ed231c6996 SHA512 19d53a13f6b24f52b5afd5d0780b289176ae49f63a31e2f55b6376c2b484b7ea4cd71e9cae33e3c3d525c3fe095cb1cc3aa51139ec956e9e9c63e870b8444382 DIST extra-cmake-modules-5.107.0.tar.xz 331560 BLAKE2B 9751c434da59121a51a2098267c090c6c993e0eb4f1dbb2059ff5e8545d79721b27474f9c0ee8076c7bdbba0a66e0e2ece5ec887bca74e1f31953acdf55e4c41 SHA512 63665c2bbd4c778d7a8d721b1bd59c885d574b82f401e0a343e10c44ef98de46cfdc5cf1f51cc81e1f8ea262c78220cf17bdc6f3a632c1caf444a3cd4f3b51f7 +DIST extra-cmake-modules-5.108.0.tar.xz 331500 BLAKE2B a1cd766a0aa13acc392329d4712bc0017a6118f16b25df8e83d4269b2d3ff316a384edd714e781dfc476a12526c92936efae2bd5ead8dd3cfb7bccd6983e8c8e SHA512 a43cefed67b1266d50c8b6b9b680bea557a267b4fb9650e1a6c3dc85cb479059b2d1191179929f81ec753e49eee966754b7942b207d9214f8146335b1138f91d diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.108.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.108.0.ebuild new file mode 100644 index 000000000000..b703a6659e89 --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.108.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +QTMIN=5.15.9 +inherit cmake frameworks.kde.org python-any-r1 + +DESCRIPTION="Extra modules and scripts for CMake" +HOMEPAGE="https://invent.kde.org/frameworks/extra-cmake-modules" + +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc test" + +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') + >=dev-qt/qthelp-${QTMIN}:5 + ) + test? ( + >=dev-qt/linguist-tools-${QTMIN}:5 + >=dev-qt/qtcore-${QTMIN}:5 + ) +" +RDEPEND=" + app-arch/libarchive[bzip2] +" + +PATCHES=( + "${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch" + "${FILESDIR}/${PN}-5.93.0-skip-ecm_add_test-early.patch" + "${FILESDIR}/${PN}-5.93.0-disable-qmlplugindump.patch" +) + +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use doc && python-any-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + # Requires PyQt5, bug #680256 + sed -i -e "/^if(NOT SIP_Qt5Core_Mod_FILE)/s/NOT SIP_Qt5Core_Mod_FILE/TRUE/" \ + tests/CMakeLists.txt || die "failed to disable GenerateSipBindings tests" +} + +src_configure() { + local mycmakeargs=( + -DDOC_INSTALL_DIR=/usr/share/doc/"${PF}" + -DBUILD_QTHELP_DOCS=$(usex doc) + -DBUILD_HTML_DOCS=$(usex doc) + -DBUILD_MAN_DOCS=$(usex doc) + -DBUILD_TESTING=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + # ECMToolchainAndroidTest passes but then breaks src_install + # ECMPoQmToolsTest is broken, bug #627806 + # KDEFetchTranslations can not possibly succeed in releases, bug #764953 + # possible race condition with multiple jobs, bug #701854 + local myctestargs=( + -j1 + -E "(ECMToolchainAndroidTest|ECMPoQmToolsTest|KDEFetchTranslations)" + ) + + cmake_src_test +} |