diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-14 23:32:54 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-15 10:32:38 +0200 |
commit | 8a7b369d7e0dc99db041038c236d463c552c6315 (patch) | |
tree | 20b4631f1efedc6dc72e862a8e49bc3dcf032328 /kde-frameworks/extra-cmake-modules | |
parent | app-admin/sysstat: Old. (diff) | |
download | gentoo-8a7b369d7e0dc99db041038c236d463c552c6315.tar.gz gentoo-8a7b369d7e0dc99db041038c236d463c552c6315.tar.bz2 gentoo-8a7b369d7e0dc99db041038c236d463c552c6315.zip |
kde-frameworks: Add KDE Frameworks 5.51.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, 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.51.0.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest index 95ceb4395afd..abc6cb741cdf 100644 --- a/kde-frameworks/extra-cmake-modules/Manifest +++ b/kde-frameworks/extra-cmake-modules/Manifest @@ -1 +1,2 @@ DIST extra-cmake-modules-5.50.0.tar.xz 323928 BLAKE2B 79bc97221cda54a51f2f6ff8797f715f4e27b1d5724da852cf06022eaf88b687a6d6aa0afb5eb2abb45b846cb49bd4c2b5e8e863e4d2f1b9b8d4446bc57ccd60 SHA512 0e56b1137a9cd8ff6a25b7790986713fb2358d8ffa1a175ca87054790440e528a37f56e2785190b40a469fd4d32bc731d4d24f55d6557515c8edb311abf3a56c +DIST extra-cmake-modules-5.51.0.tar.xz 323936 BLAKE2B aefde21b46b4ea708a61165abdeec6841869c622bc6c955c88d12d714e2420c6fb277f5a06d3dc3d4ffb4e69c6ad1779a4983a80853ada83d53890a1160695ce SHA512 71b809139a844f324054ac52946820db8fe0662a670127d8c71f133b498b8d6bb62f61f115d1f49d06fb34e936a5fa38b465a3bea5b166cfd546a185cc1f1517 diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.51.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.51.0.ebuild new file mode 100644 index 000000000000..4f32e710baca --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.51.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,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" + +DEPEND=" + doc? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') + ) + 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_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}" + ) + use test && mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON ) + + 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 +} |