diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-08 19:41:52 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-06-08 21:28:07 +0200 |
commit | 960b53f1cd249091348514ca4d444eb0ba967cfd (patch) | |
tree | 44882776b9db1882d72f47230991d1128a38b2d1 /kde-frameworks/extra-cmake-modules | |
parent | media-gfx/kxstitch: 2.2.0 version bump (diff) | |
download | gentoo-960b53f1cd249091348514ca4d444eb0ba967cfd.tar.gz gentoo-960b53f1cd249091348514ca4d444eb0ba967cfd.tar.bz2 gentoo-960b53f1cd249091348514ca4d444eb0ba967cfd.zip |
kde-frameworks: Add KDE Frameworks 5.59.0
Package-Manager: Portage-2.3.67, Repoman-2.3.14
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.59.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 9ba9fcd1f6b9..043b7200815b 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.58.0.tar.xz 325704 BLAKE2B 8772a22d144f28007fce24b053f195a4285ade2bd75ad186f20883fe6c050755a9805bbe8042f4bb3f7c0392761b1d72791d233f271fc3e7a16506115d427159 SHA512 edff7bcef7effad524743cf234ff6bb41ab59b7d8e4629ee11be9faea97985f32fff0d96cfaf25277acce9806abea3abe475c9dfe2f8c2dc1b61b7f52d2396bb +DIST extra-cmake-modules-5.59.0.tar.xz 326980 BLAKE2B b152e2b3712f0ca188642ae95361618bb9b62f4db2a6a1e2d74c231c70e09840a974b6ee1b44dcb692be0ee69f2e779b87043468dedd82f841d65b221bd674df SHA512 fcd57e78e0810408c6f7ef1f9d5d790a156ac473c0ff0fbfe4d7959367a825a210504dc1cf34024fdf677fdfe7144e18c594b8969c5333cacd2940cd7930deb8 diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.59.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.59.0.ebuild new file mode 100644 index 000000000000..b32d244d967e --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.59.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 +} |