summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-14 15:47:50 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-14 15:48:15 +0200
commit9d3b28c5d21a2b1a312e1b9f8a29776bbb4b2649 (patch)
treeb68374ed2a634ca75fceacc9c94d0fca324592e5 /kde-frameworks/extra-cmake-modules
parentsys-devel/gcc: bump patchset of 7.3.0 up to 1.2, bug #511548 (diff)
downloadgentoo-9d3b28c5d21a2b1a312e1b9f8a29776bbb4b2649.tar.gz
gentoo-9d3b28c5d21a2b1a312e1b9f8a29776bbb4b2649.tar.bz2
gentoo-9d3b28c5d21a2b1a312e1b9f8a29776bbb4b2649.zip
kde-frameworks: Add KDE Frameworks 5.45.0
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'kde-frameworks/extra-cmake-modules')
-rw-r--r--kde-frameworks/extra-cmake-modules/Manifest1
-rw-r--r--kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.45.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest
index ccde81f79ab..a38c07916d3 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
DIST extra-cmake-modules-5.43.0.tar.xz 314064 BLAKE2B b1866e66c2d12d450aada3f5dca86bf1638906cb3f4a2aa36dea43d3d0b2edde5cba85caa6ca7e0f6bd007733db16f88c2108103b588d637f1001f711037561b SHA512 fcdd96ad0db73f75708fdc97bbc74e28ef271a5dc27d8730f57efaf9e451ed5aaa51d20831c3cf20c82d377d50d51ba4abbfd09cdfbf02998396f907f6fa9cc5
DIST extra-cmake-modules-5.44.0.tar.xz 314212 BLAKE2B 67d6a732139937aac95c79bdbf66e33ba7695465f1608e556456f916ced7dadb80b97a928841f18a804a933228b4451e34e5765921440137c798b4ba5bdfbb3e SHA512 02b9dd0bc2a90b6f1973a9914b1f40a331fdaed0f004a732eb197e6ba5266b78bcb51ede3dab042c86c2db76c61bf8b9e8ccf71be27a5dbdaeed4c4fb0a365c9
+DIST extra-cmake-modules-5.45.0.tar.xz 315512 BLAKE2B 00686fe841d5385890dd52550cfbe3fbad1b9b1a5284515eec55ee82ffc533a542e36ed8936fd0095df0a11cd164e3b3efacd2dcb456703bb9dc112b551fd02f SHA512 d33e22ab08e16c3d8de3f7fc26fbc36a6940fb2d4387cf2b0ce4443fbc34e6dbbdfe2019bc31fc3b0005c582ef487ce97c02f3e7e2361f43676092ef846e9b68
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.45.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.45.0.ebuild
new file mode 100644
index 00000000000..376fd431589
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.45.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+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]
+"
+
+python_check_deps() {
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -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 )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ # ECMToolchainAndroidTest passes but then breaks src_install
+ # ECMPoQmToolsTest is broken, bug #627806
+ local myctestargs=(
+ -E "(ECMToolchainAndroidTest|ECMPoQmToolsTest)"
+ )
+
+ kde5_src_test
+}