summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-10 15:29:35 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-05-10 15:30:09 +0200
commitd9397ab8d48feb4b1360be614da35fa2faae44d9 (patch)
treecc33135aeeb6bb0faab58e8efc34329c14dff2b0 /kde-apps/kross-interpreters
parentdev-libs/libnl: Add USE='debug threads'. (diff)
downloadgentoo-d9397ab8d48feb4b1360be614da35fa2faae44d9.tar.gz
gentoo-d9397ab8d48feb4b1360be614da35fa2faae44d9.tar.bz2
gentoo-d9397ab8d48feb4b1360be614da35fa2faae44d9.zip
kde-apps: Add KDE Applications 18.04.1
Package-Manager: Portage-2.3.36, Repoman-2.3.9
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.1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/kde-apps/kross-interpreters/Manifest b/kde-apps/kross-interpreters/Manifest
index 4848280a571a..eb9eb2826f4c 100644
--- a/kde-apps/kross-interpreters/Manifest
+++ b/kde-apps/kross-interpreters/Manifest
@@ -1,2 +1,3 @@
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
+DIST kross-interpreters-18.04.1.tar.xz 144844 BLAKE2B 0cbe2066da80b327e629b78647f4175f55871fc9b23262a3c50f95bb5dfd74a6b623be181695487c3717e1288577a39ba4aa24b28e2ab4bc0fab161c90c254b3 SHA512 9b1b94a19aa8c8e83c75cbdb532545af8bb95c6d3dfe0e51d77a36107d309fe3a2d562c835cfc392348020c2397efa0135c6bc8ce9435e8bc9c7b4c67ccb3edb
diff --git a/kde-apps/kross-interpreters/kross-interpreters-18.04.1.ebuild b/kde-apps/kross-interpreters/kross-interpreters-18.04.1.ebuild
new file mode 100644
index 000000000000..0ef8019aaf2d
--- /dev/null
+++ b/kde-apps/kross-interpreters/kross-interpreters-18.04.1.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
+}