diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-11 14:55:37 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-07-11 17:36:45 +0200 |
commit | 3bb62d35ecea4de7ce22521d8fcd3b19bccd7519 (patch) | |
tree | fc89975b49026b912dcb6caa0d152a3394e1b97a /kde-frameworks/extra-cmake-modules | |
parent | kde-frameworks/breeze-icons-rcc: 5.72.0 version bump (diff) | |
download | gentoo-3bb62d35ecea4de7ce22521d8fcd3b19bccd7519.tar.gz gentoo-3bb62d35ecea4de7ce22521d8fcd3b19bccd7519.tar.bz2 gentoo-3bb62d35ecea4de7ce22521d8fcd3b19bccd7519.zip |
kde-frameworks/extra-cmake-modules: 5.72.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.72.0.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest index eed7ff99ecda..3804b059e818 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -1,2 +1,3 @@ DIST extra-cmake-modules-5.70.0.tar.xz 343476 BLAKE2B efcf47af54decc383c150aff14628408f6e77001ba4c6bc8a6f1636e62e20c06fb435a0bf7d93ce610ed7404ae186b732d994d2a530f2d65207cee70cdac8af8 SHA512 cbee488db0ccef4c876770ec073408208037d791ea67d9f72937c4fa20765f69d9312a3f9e2106526d4fb0a76e25d7fed13178209f8e0b1b3f01b76be17d4784 DIST extra-cmake-modules-5.71.0.tar.xz 343720 BLAKE2B 2e127f2b51a1ee23135603b718235236971379b1e1ffdfe0ddf799f7e579fbc9e0ce66d3a186f2fda5c0e4ce27eec9d75d350ff676dd811144dfe78c7d609b80 SHA512 234c3e42fac4a0f926d9420592a8de10e36aa4a164b3d9c15381f2593fce195456f8524c4389179af820e00138a997d5485d94339fcf6311ebcca45c402733c2 +DIST extra-cmake-modules-5.72.0.tar.xz 341932 BLAKE2B 1de6e55b21a0465bbca56c99f65273ea2ba27d70dabd44599d0ec19e0205ce7a886cff26045b1664377801f31ffae7b7ce08e4867b40c1316d6b4a61c60696a0 SHA512 4bae3b862b473df8115246924813b379f2b957ae700c4be45f13fe44519d7f011c235459a0dc8b10aad920dee318435747f1ff3ea8c270ca53ec2f4ebe90b098 diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.72.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.72.0.ebuild new file mode 100644 index 000000000000..6f3757ab3138 --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.72.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +QTMIN=5.14.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 ~x86" +IUSE="doc 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] +" + +RESTRICT+=" !test? ( test )" + +PATCHES=( + "${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch" + "${FILESDIR}/${PN}-5.65.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 + # possible race condition with multiple jobs, bug #701854 + local myctestargs=( + -j1 + -E "(ECMToolchainAndroidTest|ECMPoQmToolsTest)" + ) + + cmake_src_test +} |