diff options
Diffstat (limited to 'kde-frameworks/extra-cmake-modules')
-rw-r--r-- | kde-frameworks/extra-cmake-modules/Manifest | 2 | ||||
-rw-r--r-- | kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.106.0.ebuild | 78 |
2 files changed, 80 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest index 48523e8b56e6..6f3232367c69 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -3,6 +3,8 @@ AUX extra-cmake-modules-5.93.0-disable-qmlplugindump.patch 3151 BLAKE2B f10ceecf AUX extra-cmake-modules-5.93.0-skip-ecm_add_test-early.patch 1703 BLAKE2B 71d07fcfb3a93caf5f73f818cff7f0139c4866ef3a1abaede189e171217ec9a4e6825ec6d37c344ab8d94989493647f4d7b5749d3db1767b54bb9c6e328ca571 SHA512 8b015810e455aa0a54535f594668595900b0b2d700685c952cbb9a2dd46e3c413815b33fef69f4251bb20c93e4c3a4e6b9691680b3ffcf1bac5cf48931bb5e3b DIST extra-cmake-modules-5.104.0.tar.xz 330988 BLAKE2B 9092045fe525f42647d426231997765fd7170b7768408b560af2599231a5183ec02314422deca2b1354cdfa291e1b16e29d3a368e97365e421c3945d763427e8 SHA512 63a3c4d66a07d48bf0a9ebe4fd009b5e043baee42d8a3f58b286e2b825250de05b896aa7e9c06f543eb29a12dd16be7ef5fb773c06477195cf6f018877805014 DIST extra-cmake-modules-5.105.0.tar.xz 330968 BLAKE2B 96ba9374e8cdf8cba016017a411f90e5faf3c5055ed4444eded3395dd586b3039f7e125ac2ccba0d20520f00ee8af642e094381d0ef71455b4269c17d1885146 SHA512 04de829d7b0d42eba010aad235d68cea7e0fc4970e5ca86bdf441630893887baefe20588ed8e2fbe5bcdd51cfc352e94192e642e7dac9932de8e8f99a1734ca1 +DIST extra-cmake-modules-5.106.0.tar.xz 331532 BLAKE2B 27858e7a9eddde4258af323e7ced82988844b11a948cb78b5f91dba04057944a8dbc2a73775d837941553f7289a96fcdee4060746fe321d12eb2a3ed231c6996 SHA512 19d53a13f6b24f52b5afd5d0780b289176ae49f63a31e2f55b6376c2b484b7ea4cd71e9cae33e3c3d525c3fe095cb1cc3aa51139ec956e9e9c63e870b8444382 EBUILD extra-cmake-modules-5.104.0.ebuild 1843 BLAKE2B b2933a9332c598b23d2111464284a69e2d31b0aa6e5f8e15f5ad00319d6357aa87286fc1e220296022291939e531d01b40d74ddb786689a9414f29d449c785e0 SHA512 db0f077d4048816189ea9c66c96f96d02bfdfb1598851fcd2b378036ad7de740a1d99c196b7739c9dfcf8f97db883515a041342ea39115320315b415c580d40b EBUILD extra-cmake-modules-5.105.0.ebuild 1848 BLAKE2B 7d58e0a2cd4fdea3cdc0a4a87f245ea7b45bab483df1566796a024c11f9b61ea00c30087e10df3b1a5fd01901913624fad978445c432d02eb5d631bd870ea0de SHA512 1d50f3c6d04ffb9fdf1f6ccbd567cd733e7dfd6959a49cd15eb09d257a607e4cfa75949e58989835005bc1f2e603e90e16b7c8eaaa971424bb79c892da8fadf4 +EBUILD extra-cmake-modules-5.106.0.ebuild 1848 BLAKE2B 7d58e0a2cd4fdea3cdc0a4a87f245ea7b45bab483df1566796a024c11f9b61ea00c30087e10df3b1a5fd01901913624fad978445c432d02eb5d631bd870ea0de SHA512 1d50f3c6d04ffb9fdf1f6ccbd567cd733e7dfd6959a49cd15eb09d257a607e4cfa75949e58989835005bc1f2e603e90e16b7c8eaaa971424bb79c892da8fadf4 MISC metadata.xml 480 BLAKE2B ab8e3f4e0a74a0e856bba9cf47e40254738c6d545a569bf12fae38e8e6d1e5d0cfd5a0ffaf6d5266a1532ea455d5f7f5421f1b88fa09539af6e31d2e85e170ad SHA512 0161373d45e5fd9a1c3c4f47892fcf1173419481f8de3ee73cc029ac628d36551516d0b99acc8b227b336ec5ce138844fd2654555edff3a73b8c07dbd931e468 diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.106.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.106.0.ebuild new file mode 100644 index 000000000000..4f1be6b93a0d --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.106.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..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 +} |