summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/krossjava')
-rw-r--r--kde-base/krossjava/ChangeLog7
-rw-r--r--kde-base/krossjava/krossjava-4.12.5.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog
index 6bf15c3bea3c..fc7a8c82166e 100644
--- a/kde-base/krossjava/ChangeLog
+++ b/kde-base/krossjava/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/krossjava
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.182 2014/04/17 00:43:02 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.183 2014/04/29 18:35:11 johu Exp $
+
+*krossjava-4.12.5 (29 Apr 2014)
+
+ 29 Apr 2014; Johannes Huber <johu@gentoo.org> +krossjava-4.12.5.ebuild:
+ Version bump KDE SC 4.12.5
16 Apr 2014; Johannes Huber <johu@gentoo.org> krossjava-4.13.0.ebuild:
Restore KEYWORDS for KDE SC 4.13.0
diff --git a/kde-base/krossjava/krossjava-4.12.5.ebuild b/kde-base/krossjava/krossjava-4.12.5.ebuild
new file mode 100644
index 000000000000..71c2912a7397
--- /dev/null
+++ b/kde-base/krossjava/krossjava-4.12.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.12.5.ebuild,v 1.1 2014/04/29 18:35:11 johu Exp $
+
+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 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND="
+ >=virtual/jdk-1.5
+"
+RDEPEND="${DEPEND}
+ !!dev-java/ibm-jdk-bin
+"
+
+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}-$(get_major_version ${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
+}