diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-10 23:00:21 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-11 00:03:10 +0100 |
commit | 1cd73127ecfbfc56624bce765651f9f1d1b2f722 (patch) | |
tree | 2a3bdbe1357d1ebdae0a3721d47dde1e76534a37 /kde-frameworks/extra-cmake-modules | |
parent | kde-frameworks/breeze-icons: 5.248.0 version bump (diff) | |
download | gentoo-1cd73127ecfbfc56624bce765651f9f1d1b2f722.tar.gz gentoo-1cd73127ecfbfc56624bce765651f9f1d1b2f722.tar.bz2 gentoo-1cd73127ecfbfc56624bce765651f9f1d1b2f722.zip |
kde-frameworks/extra-cmake-modules: 5.248.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.248.0.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest index f07dd8f8c62d..1b7ca10df617 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -1,2 +1,3 @@ DIST extra-cmake-modules-5.113.0.tar.xz 332464 BLAKE2B 2bc33b2799151d0658125160609ff67ef5bc3d02dde868be6db6cbdf74e8030899db45a8d94a6b336f8168bd71aafbe1e4afa63ac4c434ed97429c54ad0c3540 SHA512 63a9bc19432a51bfaf1618b0e2cb4ce4ae188f0a2dfc44717c9a666df3f38222c3f5ebf9f210f33d400b0405e07b1574ff4de98b7dae23003785a9ea2a430e52 DIST extra-cmake-modules-5.247.0.tar.xz 337800 BLAKE2B 08ed58807b31318ecbadc8580ec89ee99c8dbedcbcf46d029a8606dbf7bd341e2ccaa6e9385ffa143fdd869387263c8d0f54684b79b3eb946bc56165cab6e01a SHA512 5fd54d909d855b52d66f4e91c68e2c5770981ec1195a76ca4566e3bf3d8a1865f1bcdba975a4aa07c5c8ea6c23253bc9dc7810e4838d39e9e93d9d5b6f0e9c72 +DIST extra-cmake-modules-5.248.0.tar.xz 338104 BLAKE2B 3b2558e7fafd7024790ab4613a60dff8cfac9d572a8625c92bdc6fa647a1d5add584b269caa03a85af0ccc06a81cd7a6c39a60ed1073f5a5f379bf930ad9f03c SHA512 ae737eab43467b64f6d81ec542792ff199b316d2c55177f7ce45f122c72feccbe755ab98e89630b47d4945c29becdcdbf8942c51109e814db8d7501653a87a9d diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.248.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.248.0.ebuild new file mode 100644 index 000000000000..3b35b5b84d87 --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.248.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +QTMIN=6.6.0 +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 )" + +RDEPEND="app-arch/libarchive[bzip2]" +BDEPEND=" + doc? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') + >=dev-qt/qttools-${QTMIN}:6[assistant] + ) + test? ( + >=dev-qt/qttools-${QTMIN}:6[linguist] + >=dev-qt/qtbase-${QTMIN}:6 + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch" + "${FILESDIR}/${PN}-5.93.0-skip-ecm_add_test-early.patch" + "${FILESDIR}/${PN}-5.112.0-disable-tests-requiring-PyQt5.patch" # bug 680256 + "${FILESDIR}/${PN}-5.245.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_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() { + local CMAKE_SKIP_TESTS=( + # passes, but then breaks src_install + ECMToolchainAndroidTest + # broken, bug #627806 + ECMPoQmToolsTest + # can not possibly succeed in releases, bug #764953 + KDEFetchTranslations + ) + # possible race condition with multiple jobs, bug #701854 + cmake_src_test -j1 +} |