summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-11-14 13:33:48 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-11-14 15:16:26 +0100
commitf1e5245226fe2737976aecb21d4a0d474355b1aa (patch)
tree7d0f1ac0a95d95fdc5790c112a4bc64817089c51 /kde-frameworks/extra-cmake-modules
parentkde-frameworks/breeze-icons-rcc: 5.100.0 version bump (diff)
downloadgentoo-f1e5245226fe2737976aecb21d4a0d474355b1aa.tar.gz
gentoo-f1e5245226fe2737976aecb21d4a0d474355b1aa.tar.bz2
gentoo-f1e5245226fe2737976aecb21d4a0d474355b1aa.zip
kde-frameworks/extra-cmake-modules: 5.100.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.100.0.ebuild78
2 files changed, 79 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest
index d66f8d710ab3..0d33f4902e40 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
+DIST extra-cmake-modules-5.100.0.tar.xz 332036 BLAKE2B 51581dadfe40f63af9bd8d64e909df68dbf1c93a362a57e4a92d143af690f3b8631a22f6ff3809af307f1178936f314a32029bcf8e99f676f1e22e5171437acd SHA512 96769413210b4c7b84d912fdbb869d113b889b45e864490e89a9ccef07dbba75e2d38649affb76218f1a0a45a691493fe94d23b2e1d9438b095882cbaab1fa31
DIST extra-cmake-modules-5.96.0.tar.xz 331584 BLAKE2B 7fc907d9feff750d45c6ddedea223ae632d4a70b437df8f9638e6e7ae08c0bf0422ec2696eaea1b1632b472aef50bf71cc3e9e559d9206828ff3d425dcb308a8 SHA512 55625f68453c88b2a5a8ebb6b8ab0b480e9c3681bebdafdf66816499e38dd815cd919bf15b16120be0a2ee8bf50fb3c67e2aa1d652083639ed87fc7ad8c2f705
DIST extra-cmake-modules-5.99.0.tar.xz 331764 BLAKE2B b4dd785dc90e803d374217e6efdb7d40330bf778eb35b29bc1510b3682d42edaa1df3367657bf43f9c7959dde438a9f51c2878ea47e0b07ce70f2877a953f326 SHA512 e002835fa48f41056ea83895f99f1cf508e14a55bc46fce5ed653f3fed4aa4400d94fab29664335c74e8d563a087c89b6245eb885a9b5cb258709a0b0e32b3a1
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.100.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.100.0.ebuild
new file mode 100644
index 000000000000..eec8444546c2
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.100.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+QTMIN=5.15.5
+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
+}