summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-01-25 18:17:26 +0000
committerJohannes Huber <johu@gentoo.org>2012-01-25 18:17:26 +0000
commit8f5c0a404860825a8ca1de5f74decd3e3b2f411e (patch)
treefd54bf03f8193c4baefa01616ebd14e3b25f8717 /kde-base/krossjava
parentUse github from thirdpartymirrors. (diff)
downloadgentoo-2-8f5c0a404860825a8ca1de5f74decd3e3b2f411e.tar.gz
gentoo-2-8f5c0a404860825a8ca1de5f74decd3e3b2f411e.tar.bz2
gentoo-2-8f5c0a404860825a8ca1de5f74decd3e3b2f411e.zip
Version bump KDE SC 4.8.0
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/krossjava')
-rw-r--r--kde-base/krossjava/ChangeLog7
-rw-r--r--kde-base/krossjava/krossjava-4.8.0.ebuild59
2 files changed, 65 insertions, 1 deletions
diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog
index f4a0247d5ae5..7f3337736be7 100644
--- a/kde-base/krossjava/ChangeLog
+++ b/kde-base/krossjava/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/krossjava
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.75 2012/01/17 13:29:12 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.76 2012/01/25 18:17:23 johu Exp $
+
+*krossjava-4.8.0 (25 Jan 2012)
+
+ 25 Jan 2012; Johannes Huber <johu@gentoo.org> +krossjava-4.8.0.ebuild:
+ Version bump KDE SC 4.8.0
17 Jan 2012; Johannes Huber <johu@gentoo.org> -krossjava-4.7.3.ebuild:
Remove KDE SC 4.7.3
diff --git a/kde-base/krossjava/krossjava-4.8.0.ebuild b/kde-base/krossjava/krossjava-4.8.0.ebuild
new file mode 100644
index 000000000000..47dc376fb992
--- /dev/null
+++ b/kde-base/krossjava/krossjava-4.8.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.8.0.ebuild,v 1.1 2012/01/25 18:17:23 johu Exp $
+
+EAPI=4
+
+KMNAME="kross-interpreters"
+KMMODULE="java"
+KDE_SCM="git"
+inherit java-pkg-2 java-ant-2 kde4-meta eutils
+
+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
+"
+
+RESTRICT="test"
+
+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
+}