diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-05-14 09:52:54 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-05-14 10:46:34 +0200 |
commit | dbadfce5e87c4c72a574f16f74da6869bc8bd913 (patch) | |
tree | 74397022d54ee3b66ecd07265ef27752c4355f92 /kde-frameworks/extra-cmake-modules | |
parent | net-misc/cni-plugins: Version bump to 0.8.0 (diff) | |
download | gentoo-dbadfce5e87c4c72a574f16f74da6869bc8bd913.tar.gz gentoo-dbadfce5e87c4c72a574f16f74da6869bc8bd913.tar.bz2 gentoo-dbadfce5e87c4c72a574f16f74da6869bc8bd913.zip |
kde-frameworks: Add KDE Frameworks 5.58.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
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.58.0.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest index 9f20c46a164f..3154d06fec3a 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -1,2 +1,3 @@ DIST extra-cmake-modules-5.54.0.tar.xz 324996 BLAKE2B 37ba7eb0b651da5bf18de292a59c9783b7d85801701223580144d366da3621da66ad2c6b8a55479d67e27249784be9994c0cdacdee540e601b34b5ed5d5af863 SHA512 2c592ab659dc2c1167111d394b976f7d008b9c3e8e18aea06001f4852f93d6a0e61c2ea5f6add2680e11f76da9f5f8c437afd350c5d3224cf1e9adba2dd765e1 DIST extra-cmake-modules-5.57.0.tar.xz 326656 BLAKE2B f6a3785e5844b1919495804e97e158c96d0b9bc71aa0bdf49b78b54089da97fd99e67f10a7d5c099874fea9a16b70745c798afbc1367fe81b1793f8902e7de6c SHA512 25a559f45e9e6b99400b210eb3bf81d6e0924675cc3c85af995f64cb4536e88e0dd734f919ef8cbc8e00de74ba328a9fb3aed5d3ada53f1827479b7a90669f97 +DIST extra-cmake-modules-5.58.0.tar.xz 325704 BLAKE2B 8772a22d144f28007fce24b053f195a4285ade2bd75ad186f20883fe6c050755a9805bbe8042f4bb3f7c0392761b1d72791d233f271fc3e7a16506115d427159 SHA512 edff7bcef7effad524743cf234ff6bb41ab59b7d8e4629ee11be9faea97985f32fff0d96cfaf25277acce9806abea3abe475c9dfe2f8c2dc1b61b7f52d2396bb diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.58.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.58.0.ebuild new file mode 100644 index 000000000000..b32d244d967e --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.58.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +ECM_KDEINSTALLDIRS="false" +KDE_AUTODEPS="false" +KDE_DEBUG="false" +KDE_QTHELP="false" +KDE_TEST="false" +inherit kde5 python-any-r1 + +DESCRIPTION="Extra modules and scripts for CMake" +HOMEPAGE="https://cgit.kde.org/extra-cmake-modules.git" + +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd" +IUSE="doc test" + +BDEPEND=" + doc? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') + $(add_qt_dep qthelp) + ) + test? ( + $(add_qt_dep qtcore) + $(add_qt_dep linguist-tools) + ) +" +RDEPEND=" + app-arch/libarchive[bzip2] +" + +PATCHES=( "${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch" ) + +python_check_deps() { + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use doc && python-any-r1_pkg_setup +} + +src_prepare() { + kde5_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=( + -DBUILD_QTHELP_DOCS=$(usex doc) + -DBUILD_HTML_DOCS=$(usex doc) + -DBUILD_MAN_DOCS=$(usex doc) + -DDOC_INSTALL_DIR=/usr/share/doc/"${PF}" + ) + + kde5_src_configure +} + +src_test() { + # ECMToolchainAndroidTest passes but then breaks src_install + # ECMPoQmToolsTest is broken, bug #627806 + local myctestargs=( + -E "(ECMToolchainAndroidTest|ECMPoQmToolsTest)" + ) + + kde5_src_test +} |