summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-20 13:58:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-20 16:09:20 +0100
commitbe90165464fc65e11c95217a704352d0352bc9eb (patch)
tree501124ac5e223a6463669e89c5334d3075f4aa2d /kde-frameworks/extra-cmake-modules
parentkde-frameworks/breeze-icons-rcc: 5.247.0 version bump (diff)
downloadgentoo-be90165464fc65e11c95217a704352d0352bc9eb.tar.gz
gentoo-be90165464fc65e11c95217a704352d0352bc9eb.tar.bz2
gentoo-be90165464fc65e11c95217a704352d0352bc9eb.zip
kde-frameworks/extra-cmake-modules: 5.247.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/Manifest1
-rw-r--r--kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.247.0.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest
index 2d4eb52d29ae..c5e7ad4cb350 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,3 +1,4 @@
DIST extra-cmake-modules-5.112.0.tar.xz 331976 BLAKE2B 96437040b605c9306bb9dae5f9450b6c1e2267fd2da5fbb24812033d29078a9057e68550809edf7522694cd028bee042e17112ae77a049eaf1e88b56b742dfb4 SHA512 4c19fdfa879f0aee27a261e6b47c1ca03d8bc62735caa70f2122834a1d74dde3276d08831def7800c5182b057d9a7c33af29f5734508a9479884d627117ce63f
DIST extra-cmake-modules-5.113.0.tar.xz 332464 BLAKE2B 2bc33b2799151d0658125160609ff67ef5bc3d02dde868be6db6cbdf74e8030899db45a8d94a6b336f8168bd71aafbe1e4afa63ac4c434ed97429c54ad0c3540 SHA512 63a9bc19432a51bfaf1618b0e2cb4ce4ae188f0a2dfc44717c9a666df3f38222c3f5ebf9f210f33d400b0405e07b1574ff4de98b7dae23003785a9ea2a430e52
DIST extra-cmake-modules-5.246.1.tar.xz 337720 BLAKE2B fc2c36df234b752ab1f2416bfcb1af8d9504a41bc9e9f4d8f141de638e41ff1c843de4104ccb42c02697632de3be4265199e3d4b4cfbc647a5cb7143e812ab68 SHA512 6e17b47d26b809a2c7e3111c2b1afa66ed2837cd498b72ea92f1ee1a1d2a6c560f0b40caf42ccced292c776602a716ce9f18d5bc09bda95c2faf75bcfcc1c05c
+DIST extra-cmake-modules-5.247.0.tar.xz 337800 BLAKE2B 08ed58807b31318ecbadc8580ec89ee99c8dbedcbcf46d029a8606dbf7bd341e2ccaa6e9385ffa143fdd869387263c8d0f54684b79b3eb946bc56165cab6e01a SHA512 5fd54d909d855b52d66f4e91c68e2c5770981ec1195a76ca4566e3bf3d8a1865f1bcdba975a4aa07c5c8ea6c23253bc9dc7810e4838d39e9e93d9d5b6f0e9c72
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.247.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.247.0.ebuild
new file mode 100644
index 000000000000..3f7ffe6cbeb5
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.247.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 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
+}