diff options
Diffstat (limited to 'kde-apps/kross-interpreters')
-rw-r--r-- | kde-apps/kross-interpreters/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kross-interpreters/kross-interpreters-18.04.3.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/kde-apps/kross-interpreters/Manifest b/kde-apps/kross-interpreters/Manifest index 2af6475085cf..6cf1502ee6a1 100644 --- a/kde-apps/kross-interpreters/Manifest +++ b/kde-apps/kross-interpreters/Manifest @@ -1,2 +1,3 @@ DIST kross-interpreters-17.12.3.tar.xz 144424 BLAKE2B 0eec653e071c026e3485c33325d9656c271e59ec187c166f2440cac8095f6ada195ffdd07622d05a9a1be100b4c6b06265771b2245a3ea79b00a2b1c5ea21fc4 SHA512 2eb261cbf57c505766dbc1d7086350f8e93b0c4da804464488701444a650119350b6ffded93beaf9956ee5974701ddaa3354838341ade3d080877918c91c6c63 DIST kross-interpreters-18.04.2.tar.xz 144868 BLAKE2B d0bde9315fe387a735a52b744853a151d2f137d9a6b661031120a0ea5b756f62cb91790c5d6f48bbb7660d5e7088cb39debd0c0a2fdda4903ae5360f9506226a SHA512 e385e7680c29ea778e09a0b99e28382dc3540798782a1a579def10644245e7e16339e29e91968ebd5516c5d953dbe3d8061b232aa0b647dbc0c60dcd87b655ca +DIST kross-interpreters-18.04.3.tar.xz 144832 BLAKE2B e1d32ae2dec8c4ada9c69576cd0feaca79c641c8d50e6772a966c4e766fac1054ac226a6fa3cdd4fa30aa11a0f2b04dba424ed2e4617eead3e49f9e2f11b7104 SHA512 d5ff06870ef0fc7906dfde9e413ceb0321dfe40296ad08f0a7f74ef63b368b91179bb140d12c650e0bbceed0601c5d141d76497eb87c95ac4f1f523b523d1a4d diff --git a/kde-apps/kross-interpreters/kross-interpreters-18.04.3.ebuild b/kde-apps/kross-interpreters/kross-interpreters-18.04.3.ebuild new file mode 100644 index 000000000000..0ef8019aaf2d --- /dev/null +++ b/kde-apps/kross-interpreters/kross-interpreters-18.04.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +USE_RUBY="ruby23" +inherit kde5 python-single-r1 ruby-single + +DESCRIPTION="Kross interpreter plugins for programming languages" +KEYWORDS="~amd64 ~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_prepare() { + sed -i -e "/find_package(PythonLibs/s/REQUIRED//" CMakeLists.txt || die + kde5_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_python=$(usex python) + -DBUILD_ruby=$(usex ruby) + ) + + kde5_src_configure +} |