summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-14 17:05:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-14 17:06:15 +0200
commit66b09c22973a2fa441b3a4dc7d71874a8a40204a (patch)
tree2bf2d57a052b373529fd4653fbcbbe51c3095d80 /kde-frameworks/extra-cmake-modules
parentmedia-libs/oyranos: Drop old (diff)
downloadgentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.tar.gz
gentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.tar.bz2
gentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.zip
kde-frameworks: Add KDE Frameworks 5.39.0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
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.39.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 8648b8ca41c7..1c64d9c843c4 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
DIST extra-cmake-modules-5.37.0.tar.xz 311696 SHA256 26198cf05c084c158bb23f0585a9df5bba1aa16b746252c80bdf4f0261b527cb SHA512 eb064dcf03960913c41c61dcb02ed12fa1b83abe507f9b161770bae8fe32b74dee45a29b12af26e636e896b97b17221adf67ea8465fcc9ab319b4ee55ab4f8bf WHIRLPOOL 0085edc89a6ac6369b509cd16ee79447f3d6c924aa06ca8bf73471772ae03afd8d57223fad70c5d5e4e3256ffc12e1de0b9176dfdbb2526015b41230a16da12d
DIST extra-cmake-modules-5.38.0.tar.xz 312532 SHA256 6188a8ac8d799439204f69a1eb229431fc9f196790b88d6fb72bb3d57edb2332 SHA512 c1fd65593732e57fb0822fd5bc2b06f9e35713a78f35269f387f6d9e4c87520b46f3cde039a42993139b478da5aebf1764d0111746af75bb0e5a33822684e501 WHIRLPOOL f4bf5e501f28d9e501b67772b8822eb72af934f37710d085dad6259544e1cf0e1081e18a7967e6439f126699891420014ea014f16b1080491079bd4d1dec61a6
+DIST extra-cmake-modules-5.39.0.tar.xz 312492 SHA256 b80536d7bed8c12fc492857d3d433b3859462402fe231e463efcd3bf44ffbcd1 SHA512 c41df32aa6641824b7e69b001997fa61ab4d4df9aa0b850d8eecb0e434836e35f7c928952771cb2c5258117ac318e199659991619f37ad3ff82744ab66071ece WHIRLPOOL dfbd4fb3a81260f52c3a732a44d564150ba9448dc4495ee4349bb723dab950374a806259952da63962280697480ac4692228661291167914ec9b49697f868a93
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.39.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.39.0.ebuild
new file mode 100644
index 000000000000..6cb0dc2df747
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.39.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 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://projects.kde.org/projects/kdesupport/extra-cmake-modules"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+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
+}