diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-02-10 08:08:01 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-02-10 08:12:07 +0100 |
commit | b8d12bd6aa85239d83f75545794c340dedca83a6 (patch) | |
tree | af110fb9c63676aca4edb65bddd3fcad45998fcf /kde-apps | |
parent | kde-apps/kross-interpreters: Switch 19.12.2-r0 to ruby25 (diff) | |
download | gentoo-b8d12bd6aa85239d83f75545794c340dedca83a6.tar.gz gentoo-b8d12bd6aa85239d83f75545794c340dedca83a6.tar.bz2 gentoo-b8d12bd6aa85239d83f75545794c340dedca83a6.zip |
kde-apps/kross-interpreters: Add 19.12.2-r1 for ruby26
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/kross-interpreters/kross-interpreters-19.12.2-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kde-apps/kross-interpreters/kross-interpreters-19.12.2-r1.ebuild b/kde-apps/kross-interpreters/kross-interpreters-19.12.2-r1.ebuild new file mode 100644 index 000000000000..9b58b5932f54 --- /dev/null +++ b/kde-apps/kross-interpreters/kross-interpreters-19.12.2-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +USE_RUBY="ruby25" +KFMIN=5.63.0 +QTMIN=5.12.3 +inherit ecm kde.org python-single-r1 ruby-single + +DESCRIPTION="Kross interpreter plugins for programming languages" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+python ruby" + +REQUIRED_USE="|| ( python ruby ) python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + >=kde-frameworks/kross-${KFMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + python? ( ${PYTHON_DEPS} ) + ruby? ( ${RUBY_DEPS} ) +" +RDEPEND="${DEPEND}" + +pkg_setup() { + use python && python-single-r1_pkg_setup + ecm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_python=$(usex python) + -DBUILD_ruby=$(usex ruby) + ) + + ecm_src_configure +} |