diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-10 11:34:46 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-10 11:41:10 +0100 |
commit | 5987e0a0655c871d1c05a640291e23df62051f77 (patch) | |
tree | c3cbd8af21be14fc14275a981f8e2745d5fae6ac /kde-frameworks/extra-cmake-modules | |
parent | kde-frameworks/breeze-icons-rcc: 5.101.0 version bump (diff) | |
download | gentoo-5987e0a0655c871d1c05a640291e23df62051f77.tar.gz gentoo-5987e0a0655c871d1c05a640291e23df62051f77.tar.bz2 gentoo-5987e0a0655c871d1c05a640291e23df62051f77.zip |
kde-frameworks/extra-cmake-modules: 5.101.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.101.0.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest index c6ef01af1ca0..dabdca91983b 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.101.0.tar.xz 332400 BLAKE2B 96865eb4df1d275f7ed725790d64bb4e7ec412f408ce53dab40c8a4e84836bf7ec6701ac750f1ceca714080b4201775666a46c717b6f992793a5afd827a32739 SHA512 b1710211c72dffd8f5fae71aef4f9b1aaa5250dbf88647c740e198ca36b4804b081c6b9a0a7d3d86a5bfe5085a8f7e9e255034c91639ccc5791ebf54ee76c747 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.101.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.101.0.ebuild new file mode 100644 index 000000000000..eec8444546c2 --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.101.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 +} |