summaryrefslogtreecommitdiff
path: root/kde-apps/kross-interpreters
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 23:42:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 23:42:22 +0100
commit51f764bd90744508de5a7b0f33eb066c4498e0e6 (patch)
treee581ca255574b98481cdd1c7b603fec9d98d8a0c /kde-apps/kross-interpreters
parent8863019f1a26c19f83c38fd2a68372b163927ccf (diff)
kde-apps/kross-interpreters : drop ruby-single eclass
Diffstat (limited to 'kde-apps/kross-interpreters')
-rw-r--r--kde-apps/kross-interpreters/Manifest1
-rw-r--r--kde-apps/kross-interpreters/kross-interpreters-20.08.1-r10.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/kde-apps/kross-interpreters/Manifest b/kde-apps/kross-interpreters/Manifest
new file mode 100644
index 00000000..33972668
--- /dev/null
+++ b/kde-apps/kross-interpreters/Manifest
@@ -0,0 +1 @@
+DIST kross-interpreters-20.08.1.tar.xz 151276 BLAKE2B a8bd9143f88183aaa3a2ee1253fe57b839f480f4719ded07ee6232debbd4c4c019343631d4d1507c40f9302656a8cf29030941f1b28d2bba67bf3222b74539ca SHA512 cad4234aea2aa9c3b9abf41be60316f0444b72961c8ef10797c6a135f6d47220ee7d0dbb1f49d5e12d6a9efb2485146495e02b59746f04486e8675cf018f09fb
diff --git a/kde-apps/kross-interpreters/kross-interpreters-20.08.1-r10.ebuild b/kde-apps/kross-interpreters/kross-interpreters-20.08.1-r10.ebuild
new file mode 100644
index 00000000..d66f4b37
--- /dev/null
+++ b/kde-apps/kross-interpreters/kross-interpreters-20.08.1-r10.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+KFMIN=5.72.0
+QTMIN=5.14.2
+inherit ecm kde.org python-single-r1
+
+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="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kross-${KFMIN}:5
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( dev-lang/ruby:2.5 )
+"
+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
+}