summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-08-11 14:35:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-11 14:35:16 +0200
commite9e7fbc7f1c7514a10cef7a47b4a940d0676410e (patch)
tree2938f0df53e4ecfd1cfb02fe5b2f9757b497e9cd /kde-frameworks/extra-cmake-modules
parentprofiles: amd64-fbsd: Drop obsolete dev-qt/qtgui[nas] p.use.mask (diff)
downloadgentoo-e9e7fbc7f1c7514a10cef7a47b4a940d0676410e.tar.gz
gentoo-e9e7fbc7f1c7514a10cef7a47b4a940d0676410e.tar.bz2
gentoo-e9e7fbc7f1c7514a10cef7a47b4a940d0676410e.zip
kde-frameworks: Add KDE Frameworks 5.49.0
Package-Manager: Portage-2.3.45, Repoman-2.3.10
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.49.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 4ae29c4e9e8..faae174e353 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
DIST extra-cmake-modules-5.46.0.tar.xz 317056 BLAKE2B c67e5a4d207cb5fd3f7ff7d0e2dd16c5a0a44c562c0a9c0b7eac3a54930ae59b6fd8b36d7a464e7d03950c44c101befc57825f8ee2f23b35e3f7ddc792d5267e SHA512 6431ad8e5230bbc0a5e1199037102014c376a682d711211b257359c35c8a3aaddb6128277721ca40cedf43fcca77312a2754f306487a1b3dbea728d643f0ad3a
DIST extra-cmake-modules-5.48.0.tar.xz 317480 BLAKE2B e7db1e7e6be5b0c78cccd8e54adb570e3b48f7487185f66f316ea5300b65ab6e53019960144157b88314dbe3b16cfe8c1d88cd17686798390fe61c3dbdd58997 SHA512 52e52ef6b35f4ae34b7ef35270a05c1fec856b253007376e3c7707fd98ecdd228b1b305ecdff1863a735780bea27a5aa14dfb32f0fca4992f7f4edcff359f47b
+DIST extra-cmake-modules-5.49.0.tar.xz 323488 BLAKE2B a15972adbc6a810aa3c2cb8a1919a9ec61117691e7eb232bc79e392850348d1ab6071ec9a320974fcf6f35f61bf1d8b0b8ea00ab9164acc2107b8e1b297b7251 SHA512 ed9925d4096f79241bc915b065a48b3a5cda78e53f6f2514d453232aabbfbe83e0b700040ef811bb9043567d5304e9681ba218b9a948685114c12b6dc6108279
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.49.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.49.0.ebuild
new file mode 100644
index 00000000000..376fd431589
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.49.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
+}