aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2012-11-16 22:17:58 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2012-11-16 22:17:58 +0400
commit7be3ab27c8329b5a533340da7ae8a63b06e1fa01 (patch)
tree15f20da5b34a86374bfa0b925e2d491b4401850d /kde-base/krossjava
parent[Documentation] Fix bumptool (diff)
downloadkde-7be3ab27c8329b5a533340da7ae8a63b06e1fa01.tar.gz
kde-7be3ab27c8329b5a533340da7ae8a63b06e1fa01.tar.bz2
kde-7be3ab27c8329b5a533340da7ae8a63b06e1fa01.zip
[kde-base] Add KDE SC 4.10 beta1
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'kde-base/krossjava')
-rw-r--r--kde-base/krossjava/Manifest1
-rw-r--r--kde-base/krossjava/krossjava-4.9.80.ebuild56
-rw-r--r--kde-base/krossjava/krossjava-9999.ebuild2
3 files changed, 58 insertions, 1 deletions
diff --git a/kde-base/krossjava/Manifest b/kde-base/krossjava/Manifest
new file mode 100644
index 0000000000..63e461da7a
--- /dev/null
+++ b/kde-base/krossjava/Manifest
@@ -0,0 +1 @@
+DIST kross-interpreters-4.9.80.tar.xz 130224 SHA256 740d5b6dcc80cd17abef3a90adff7555cc296a466f8d6f29ac92c4e7818a2d11 SHA512 d9c5643b0cf7ea146dddf50cea8bbd0e34d16afcb7df4a6df3d0596a5bf5432c6beb7428db9f4baf38522861ca6957ff857607052fe7e5debb0378828d547dfb WHIRLPOOL 88a0adaf786f1e60cd28b69bcc43f0fddc5780524446c917dce322c3a9de7154ae56dcad1e46bcb656bba441e4ea86872d58e286d067326a78139cc43616ba99
diff --git a/kde-base/krossjava/krossjava-4.9.80.ebuild b/kde-base/krossjava/krossjava-4.9.80.ebuild
new file mode 100644
index 0000000000..8e048c37c9
--- /dev/null
+++ b/kde-base/krossjava/krossjava-4.9.80.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+KMNAME="kross-interpreters"
+KMMODULE="java"
+inherit java-pkg-2 java-ant-2 kde4-meta multilib
+
+DESCRIPTION="Java plugin for the kdelibs/kross scripting framework."
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ >=virtual/jdk-1.5
+"
+RDEPEND="
+ >=virtual/jre-1.5
+"
+
+pkg_setup() {
+ kde4-meta_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_prepare() {
+ find "${S}" -iname '*.jar' | xargs rm -v
+ kde4-meta_src_prepare
+ java-pkg-2_src_prepare
+}
+
+src_configure() {
+ kde4-meta_src_configure
+ java-ant-2_src_configure
+}
+
+src_compile() {
+ kde4-meta_src_compile
+ cd "${S}/java/${PN}/java/" || die
+ eant makejar
+}
+
+src_install() {
+ kde4-meta_src_install
+ java-pkg_dojar "${ED}/usr/$(get_libdir)/kde4/kross/kross.jar"
+
+ dosym ../../../share/${PN}-${SLOT}/lib/kross.jar \
+ /usr/$(get_libdir)/kde4/kross/kross.jar
+ java-pkg_regso "${ED}/usr/$(get_libdir)/kde4/krossjava.so"
+}
+
+pkg_preinst() {
+ kde4-meta_pkg_preinst
+ java-pkg-2_pkg_preinst
+}
diff --git a/kde-base/krossjava/krossjava-9999.ebuild b/kde-base/krossjava/krossjava-9999.ebuild
index 348bcdb6f7..4d0d2ea572 100644
--- a/kde-base/krossjava/krossjava-9999.ebuild
+++ b/kde-base/krossjava/krossjava-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
KMNAME="kross-interpreters"
KMMODULE="java"