summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-19 15:33:18 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-19 15:33:37 +0200
commit1d72a0a1cd87d7401ef850a98513c7e080d7d2e1 (patch)
treecb93e377edcbd097f32d02b97f3a1a9a5d851b10 /kde-apps/kross-interpreters
parentsys-kernel/gentoo-sources: Linux patch 4.16.3 (diff)
downloadgentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.gz
gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.tar.bz2
gentoo-1d72a0a1cd87d7401ef850a98513c7e080d7d2e1.zip
kde-apps: Add KDE Applications 18.04.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'kde-apps/kross-interpreters')
-rw-r--r--kde-apps/kross-interpreters/Manifest1
-rw-r--r--kde-apps/kross-interpreters/kross-interpreters-18.04.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/kde-apps/kross-interpreters/Manifest b/kde-apps/kross-interpreters/Manifest
index 9658e90ca0a4..4848280a571a 100644
--- a/kde-apps/kross-interpreters/Manifest
+++ b/kde-apps/kross-interpreters/Manifest
@@ -1 +1,2 @@
DIST kross-interpreters-17.12.3.tar.xz 144424 BLAKE2B 0eec653e071c026e3485c33325d9656c271e59ec187c166f2440cac8095f6ada195ffdd07622d05a9a1be100b4c6b06265771b2245a3ea79b00a2b1c5ea21fc4 SHA512 2eb261cbf57c505766dbc1d7086350f8e93b0c4da804464488701444a650119350b6ffded93beaf9956ee5974701ddaa3354838341ade3d080877918c91c6c63
+DIST kross-interpreters-18.04.0.tar.xz 144468 BLAKE2B 666633945d407dd9a7733f3f3676425082bf538a7ffaad4764368a769fa279a45392b35427b7a6d905e5994b81ab0af31bdcac8b67f3389d4ce7ce27cc7b5b6c SHA512 fe114664c2079e914d150e2125a6549b0189d5ec5a58a88c53cc6f9da4ba077b1fcbd4f49b376f568708b4b65e7c8038650de436b37018417509dee6b71fc18d
diff --git a/kde-apps/kross-interpreters/kross-interpreters-18.04.0.ebuild b/kde-apps/kross-interpreters/kross-interpreters-18.04.0.ebuild
new file mode 100644
index 000000000000..0ef8019aaf2d
--- /dev/null
+++ b/kde-apps/kross-interpreters/kross-interpreters-18.04.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+USE_RUBY="ruby23"
+inherit kde5 python-single-r1 ruby-single
+
+DESCRIPTION="Kross interpreter plugins for programming languages"
+KEYWORDS="~amd64 ~x86"
+IUSE="+python ruby"
+
+REQUIRED_USE="|| ( python ruby ) python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ $(add_frameworks_dep kross)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( ${RUBY_DEPS} )
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+ kde5_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "/find_package(PythonLibs/s/REQUIRED//" CMakeLists.txt || die
+ kde5_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_python=$(usex python)
+ -DBUILD_ruby=$(usex ruby)
+ )
+
+ kde5_src_configure
+}