diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /kde-apps/kross-interpreters/kross-interpreters-19.12.0.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'kde-apps/kross-interpreters/kross-interpreters-19.12.0.ebuild')
-rw-r--r-- | kde-apps/kross-interpreters/kross-interpreters-19.12.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kde-apps/kross-interpreters/kross-interpreters-19.12.0.ebuild b/kde-apps/kross-interpreters/kross-interpreters-19.12.0.ebuild new file mode 100644 index 000000000000..4a104a9af2af --- /dev/null +++ b/kde-apps/kross-interpreters/kross-interpreters-19.12.0.ebuild @@ -0,0 +1,42 @@ +# 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" +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 +} |