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.109.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 875657c6528b..bb9f39efc358 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -2,5 +2,7 @@ AUX extra-cmake-modules-5.49.0-no-fatal-warnings.patch 1104 BLAKE2B 9f70e75ed926 AUX extra-cmake-modules-5.93.0-disable-qmlplugindump.patch 3151 BLAKE2B f10ceecfbfdad60f628cf1b0c0972f8ebc8db615938b23f300f80855bcc77a6f21d35cb56130df760e3e893ee025689869023048434a3f6329f25181304b4eb6 SHA512 8f046619df65df32736a217ca94439e9c567f6a84a3c736507259b20958c1972d21ee7dcda79b11cc220713010fbfb69f516f0ea1ea2b730e5efb7c32a2fdd04 AUX extra-cmake-modules-5.93.0-skip-ecm_add_test-early.patch 1703 BLAKE2B 71d07fcfb3a93caf5f73f818cff7f0139c4866ef3a1abaede189e171217ec9a4e6825ec6d37c344ab8d94989493647f4d7b5749d3db1767b54bb9c6e328ca571 SHA512 8b015810e455aa0a54535f594668595900b0b2d700685c952cbb9a2dd46e3c413815b33fef69f4251bb20c93e4c3a4e6b9691680b3ffcf1bac5cf48931bb5e3b DIST extra-cmake-modules-5.108.0.tar.xz 331500 BLAKE2B a1cd766a0aa13acc392329d4712bc0017a6118f16b25df8e83d4269b2d3ff316a384edd714e781dfc476a12526c92936efae2bd5ead8dd3cfb7bccd6983e8c8e SHA512 a43cefed67b1266d50c8b6b9b680bea557a267b4fb9650e1a6c3dc85cb479059b2d1191179929f81ec753e49eee966754b7942b207d9214f8146335b1138f91d +DIST extra-cmake-modules-5.109.0.tar.xz 331684 BLAKE2B 1cbd0518526338dd515a8f64b60ecf6853d6e93167f725af8c2033362722e0ba4c6e6fd66321b6fd7eb0ac4d44e007a09556cfc64042a8c43cec7ddd193e836a SHA512 62ae279433a89978c703d9f79b5070d57ca071b7c50461b8b1cd6ad9283d9c8130bf97050490897fe638efe9b5c8d16bd11f12bf7736cfccc9a594061b3bbdc6 EBUILD extra-cmake-modules-5.108.0.ebuild 1843 BLAKE2B a4e9af45e3823058aba65de68e6d2730a9405fcf53fb7a9faed9e688b0fd2c74329cc3ac9493bb45077656411a2d6d3b92d47e8781cf70ecde3ebb8eff1c5ff6 SHA512 6489f3c944e720603b168a8e5191a68731e3fec370c448328c4df3b83b6f536055b5d63e0e17f734966333c793d1bef1193203ce7444c293aaf3025dac461f09 +EBUILD extra-cmake-modules-5.109.0.ebuild 1837 BLAKE2B 5970e2717fa64a7acff95606f93251cae67e3123c51e4e7a2c545ca0a9381bed922cab417275b152478b1873daef63bcd9ca4b95227721309b5aa48dfed50bd6 SHA512 180497b0f71b23c9b32f0e0cd1a037ce36a5a3b2c71af85837375fbceb1e71798a4007d38fca3104e8663c94166d11617b9a4a36b75a98438b2c942c6ea28a0b MISC metadata.xml 480 BLAKE2B ab8e3f4e0a74a0e856bba9cf47e40254738c6d545a569bf12fae38e8e6d1e5d0cfd5a0ffaf6d5266a1532ea455d5f7f5421f1b88fa09539af6e31d2e85e170ad SHA512 0161373d45e5fd9a1c3c4f47892fcf1173419481f8de3ee73cc029ac628d36551516d0b99acc8b227b336ec5ce138844fd2654555edff3a73b8c07dbd931e468 diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.109.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.109.0.ebuild new file mode 100644 index 000000000000..6bd30408de75 --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.109.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_{10..12} ) +QTMIN=5.15.9 +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 ~riscv" +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 +} |