diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-21 11:50:06 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-21 11:50:31 +0100 |
commit | 3490d47f06758e7154e222e838a12e582570fa99 (patch) | |
tree | 4b7d463adebff680aa0e02a12bdd843a809cfd65 /kde-apps/kross-interpreters | |
parent | media-gfx/gif2png: Removed old. (diff) | |
download | gentoo-3490d47f06758e7154e222e838a12e582570fa99.tar.gz gentoo-3490d47f06758e7154e222e838a12e582570fa99.tar.bz2 gentoo-3490d47f06758e7154e222e838a12e582570fa99.zip |
kde-apps/kross-interpreters: Sort out USE_RUBY
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'kde-apps/kross-interpreters')
-rw-r--r-- | kde-apps/kross-interpreters/kross-interpreters-18.12.3-r1.ebuild | 37 | ||||
-rw-r--r-- | kde-apps/kross-interpreters/kross-interpreters-18.12.3.ebuild | 2 |
2 files changed, 38 insertions, 1 deletions
diff --git a/kde-apps/kross-interpreters/kross-interpreters-18.12.3-r1.ebuild b/kde-apps/kross-interpreters/kross-interpreters-18.12.3-r1.ebuild new file mode 100644 index 000000000000..4b577776782d --- /dev/null +++ b/kde-apps/kross-interpreters/kross-interpreters-18.12.3-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +USE_RUBY="ruby25" +inherit kde5 python-single-r1 ruby-single + +DESCRIPTION="Kross interpreter plugins for programming languages" +KEYWORDS="~amd64 ~arm64 ~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_configure() { + local mycmakeargs=( + -DBUILD_python=$(usex python) + -DBUILD_ruby=$(usex ruby) + ) + + kde5_src_configure +} diff --git a/kde-apps/kross-interpreters/kross-interpreters-18.12.3.ebuild b/kde-apps/kross-interpreters/kross-interpreters-18.12.3.ebuild index 4b577776782d..287a64e2877a 100644 --- a/kde-apps/kross-interpreters/kross-interpreters-18.12.3.ebuild +++ b/kde-apps/kross-interpreters/kross-interpreters-18.12.3.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 ) -USE_RUBY="ruby25" +USE_RUBY="ruby24" inherit kde5 python-single-r1 ruby-single DESCRIPTION="Kross interpreter plugins for programming languages" |