diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-07-13 16:43:45 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-07-15 07:36:12 +0200 |
commit | 75dd10c7d9dc7f20e73445bf31cce819ae962cb2 (patch) | |
tree | 683855d5c9ea0c6c30bc35bff7803a4990b31290 /kde-frameworks/extra-cmake-modules | |
parent | kde5.eclass: kde-frameworks/kdewebkit moved to portingAids (diff) | |
download | gentoo-75dd10c7d9dc7f20e73445bf31cce819ae962cb2.tar.gz gentoo-75dd10c7d9dc7f20e73445bf31cce819ae962cb2.tar.bz2 gentoo-75dd10c7d9dc7f20e73445bf31cce819ae962cb2.zip |
kde-frameworks: Add KDE Frameworks 5.60.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16
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.60.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 077d8fb848c1..047ba0f29ca4 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -1,2 +1,3 @@ DIST extra-cmake-modules-5.57.0.tar.xz 326656 BLAKE2B f6a3785e5844b1919495804e97e158c96d0b9bc71aa0bdf49b78b54089da97fd99e67f10a7d5c099874fea9a16b70745c798afbc1367fe81b1793f8902e7de6c SHA512 25a559f45e9e6b99400b210eb3bf81d6e0924675cc3c85af995f64cb4536e88e0dd734f919ef8cbc8e00de74ba328a9fb3aed5d3ada53f1827479b7a90669f97 DIST extra-cmake-modules-5.59.0.tar.xz 326980 BLAKE2B b152e2b3712f0ca188642ae95361618bb9b62f4db2a6a1e2d74c231c70e09840a974b6ee1b44dcb692be0ee69f2e779b87043468dedd82f841d65b221bd674df SHA512 fcd57e78e0810408c6f7ef1f9d5d790a156ac473c0ff0fbfe4d7959367a825a210504dc1cf34024fdf677fdfe7144e18c594b8969c5333cacd2940cd7930deb8 +DIST extra-cmake-modules-5.60.0.tar.xz 325768 BLAKE2B de99c37171d298ef8168403b9b27275171db142f204a2c2b3ff82942390b91510e16a19f0d366242f03259c0c045186a8a8f5bd598ef6051709a307423972fab SHA512 c505f765169d4e77a836d971cabe513f5fbda6c772bff10a97013dd14fb91167b461c7e01382e41c4e9ca050a20ab828f3090ef7cd64625fa784d81f2cbf2743 diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.60.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.60.0.ebuild new file mode 100644 index 000000000000..b32d244d967e --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.60.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 +} |