summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-13 09:52:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-13 20:19:56 +0100
commitf75b6e14aade3fc4a9996886bfac248326515203 (patch)
treec951730e78e02e7dd346c5a55e127e1156011a6e /kde-frameworks/extra-cmake-modules
parentkde-frameworks/breeze-icons-rcc: 5.92.0 version bump (diff)
downloadgentoo-f75b6e14aade3fc4a9996886bfac248326515203.tar.gz
gentoo-f75b6e14aade3fc4a9996886bfac248326515203.tar.bz2
gentoo-f75b6e14aade3fc4a9996886bfac248326515203.zip
kde-frameworks/extra-cmake-modules: 5.92.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.92.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 419c68133160..76ae6b2f6404 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
DIST extra-cmake-modules-5.90.0.tar.xz 323352 BLAKE2B 00df6be76989e0730b8b0be66ea68d979c22ee66f115720218b80eb6a06f2d471b24c08e4db2b5a4febdc3e44481adce522c4e62cf86bbe0c10d07cd40ae0cab SHA512 1f1257a8b9d0a7ba088d5da3bb96070c6cd18d19a17224249e886d7a4aa9bda8192be54607908b1cbcbea57366649cebde173e5bce64ea16ed3b60d1a5ba04a5
DIST extra-cmake-modules-5.91.0.tar.xz 329328 BLAKE2B 74aa6d445bdde98e27683aa04068a2d82938dff8993889f6d089d2d1864b687bd20f4619ae4396df85c0a63b2cd7279ea487586371a6f0ac0bf2dd66b183ed9e SHA512 5134ce41171db708dc31ead1cc05c6c9e21187a49e4ab0930790440c2183de4c07d7e7170ac1e32d98344167313a39a132a431801c7927e986821705f807c457
+DIST extra-cmake-modules-5.92.0.tar.xz 329884 BLAKE2B e2d6bb7ff492f916f2e276faf452c2b02adfed8133096cff17c76992d11255f93a55cfc8140dc1b577facdb03cbbcddfefcbbe5242a006aa4c5786a0c64bf329 SHA512 c4adc98a5d3ff0844165fc5f51f9a1a4ff04ef8e8d8b87b87b094d0601577c239f87f05dd461270563d5160af7248ee064984275223a48e931b1761450dcaf20
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.92.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.92.0.ebuild
new file mode 100644
index 000000000000..6d30f42e236f
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.92.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..10} )
+QTMIN=5.15.2
+inherit cmake 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 ~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.72.0-skip-ecm_add_test-early.patch"
+ "${FILESDIR}/${PN}-5.91.0-disable-qmlplugindump.patch"
+)
+
+python_check_deps() {
+ 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
+}