1 |
commit: 4d39b7fcd55a1dfd4186b4d303c0c56a6732ad93 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 12 11:11:22 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 12 11:55:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d39b7fc |
7 |
|
8 |
kde-apps/kross-interpreters: Switch to ruby24 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/672982 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../kross-interpreters-18.08.3-r1.ebuild | 37 ++++++++++++++++++++++ |
15 |
1 file changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/kde-apps/kross-interpreters/kross-interpreters-18.08.3-r1.ebuild b/kde-apps/kross-interpreters/kross-interpreters-18.08.3-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..38f4ee94df9 |
20 |
--- /dev/null |
21 |
+++ b/kde-apps/kross-interpreters/kross-interpreters-18.08.3-r1.ebuild |
22 |
@@ -0,0 +1,37 @@ |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python2_7 ) |
29 |
+USE_RUBY="ruby24" |
30 |
+inherit kde5 python-single-r1 ruby-single |
31 |
+ |
32 |
+DESCRIPTION="Kross interpreter plugins for programming languages" |
33 |
+KEYWORDS="amd64 x86" |
34 |
+IUSE="+python ruby" |
35 |
+ |
36 |
+REQUIRED_USE="|| ( python ruby ) python? ( ${PYTHON_REQUIRED_USE} )" |
37 |
+ |
38 |
+DEPEND=" |
39 |
+ $(add_frameworks_dep kross) |
40 |
+ $(add_qt_dep qtgui) |
41 |
+ $(add_qt_dep qtwidgets) |
42 |
+ python? ( ${PYTHON_DEPS} ) |
43 |
+ ruby? ( ${RUBY_DEPS} ) |
44 |
+" |
45 |
+RDEPEND="${DEPEND}" |
46 |
+ |
47 |
+pkg_setup() { |
48 |
+ use python && python-single-r1_pkg_setup |
49 |
+ kde5_pkg_setup |
50 |
+} |
51 |
+ |
52 |
+src_configure() { |
53 |
+ local mycmakeargs=( |
54 |
+ -DBUILD_python=$(usex python) |
55 |
+ -DBUILD_ruby=$(usex ruby) |
56 |
+ ) |
57 |
+ |
58 |
+ kde5_src_configure |
59 |
+} |