summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-06-12 21:35:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-06-12 21:41:06 +0200
commitfd72a13c30b99dc8e923f534ff7824a0bf7c0c00 (patch)
treeb7e99fe05c165beeecc44be991add5686f07f6b3 /kde-frameworks/extra-cmake-modules
parentkde-frameworks/breeze-icons-rcc: 5.95.0 version bump (diff)
downloadgentoo-fd72a13c30b99dc8e923f534ff7824a0bf7c0c00.tar.gz
gentoo-fd72a13c30b99dc8e923f534ff7824a0bf7c0c00.tar.bz2
gentoo-fd72a13c30b99dc8e923f534ff7824a0bf7c0c00.zip
kde-frameworks/extra-cmake-modules: 5.95.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.95.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 eaf093893424..0efa523b05af 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
DIST extra-cmake-modules-5.92.0.tar.xz 329884 BLAKE2B e2d6bb7ff492f916f2e276faf452c2b02adfed8133096cff17c76992d11255f93a55cfc8140dc1b577facdb03cbbcddfefcbbe5242a006aa4c5786a0c64bf329 SHA512 c4adc98a5d3ff0844165fc5f51f9a1a4ff04ef8e8d8b87b87b094d0601577c239f87f05dd461270563d5160af7248ee064984275223a48e931b1761450dcaf20
DIST extra-cmake-modules-5.94.0.tar.xz 331500 BLAKE2B b3dd13a9ae089fd1b102fec37155fbe173511d97367ba2bf347533a2ce019bc6327a747cef2fab46daa9ec0429df49729d9f15256cd466a62bb41f7cc5b2397e SHA512 c76e27ded4d5108d756b5891c64cbfbaad8a944e2cc5ce3a1b56ef395bad9688e493a1d8a6e91c2910e156ff5ff018ed054a4b3825b093c877e6c445eb74179e
+DIST extra-cmake-modules-5.95.0.tar.xz 331364 BLAKE2B dc3398aff741ef6923ebc287bff0c2de16a0481c7e6a666f4712db55ccb71c47cdcd2a0234d9c095b352387b692c8a395355b34de581cd44a6e57c785d6bdc17 SHA512 b99cda146c4dec0c21bd558d6435996aaacf3db819f96ca16a0344d8da8dd30bb3ff37aa03f2ac78c4e5da6b0874844fba2bebd24015a804ba985c93c924064e
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.95.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.95.0.ebuild
new file mode 100644
index 000000000000..6dd4ecb8e60f
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.95.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.3
+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 ~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() {
+ 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
+}