summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-09-06 01:07:59 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-09-06 01:07:59 +0000
commit986450a801b6ef3031b1dfcae1eea967f9e808c9 (patch)
tree2203798c8956b526fcc9353cb164273a28396071 /kde-base/krossjava
parentVersion bump KDE SC 4.5.1 (diff)
downloadgentoo-2-986450a801b6ef3031b1dfcae1eea967f9e808c9.tar.gz
gentoo-2-986450a801b6ef3031b1dfcae1eea967f9e808c9.tar.bz2
gentoo-2-986450a801b6ef3031b1dfcae1eea967f9e808c9.zip
Version bump KDE SC 4.5.1
(Portage version: 2.2_rc75/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/krossjava')
-rw-r--r--kde-base/krossjava/ChangeLog8
-rw-r--r--kde-base/krossjava/krossjava-4.5.1.ebuild59
2 files changed, 66 insertions, 1 deletions
diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog
index 61e2b831f82c..3af719b2db5c 100644
--- a/kde-base/krossjava/ChangeLog
+++ b/kde-base/krossjava/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/krossjava
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.39 2010/08/09 11:31:26 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.40 2010/09/06 01:07:59 tampakrap Exp $
+
+*krossjava-4.5.1 (06 Sep 2010)
+
+ 06 Sep 2010; Theo Chatzimichos <tampakrap@gentoo.org>
+ +krossjava-4.5.1.ebuild:
+ Version bump
09 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org>
-krossjava-4.3.5.ebuild, -krossjava-4.4.4.ebuild:
diff --git a/kde-base/krossjava/krossjava-4.5.1.ebuild b/kde-base/krossjava/krossjava-4.5.1.ebuild
new file mode 100644
index 000000000000..2cfb616830dd
--- /dev/null
+++ b/kde-base/krossjava/krossjava-4.5.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.5.1.ebuild,v 1.1 2010/09/06 01:07:59 tampakrap Exp $
+
+EAPI="3"
+
+KMNAME="kdebindings"
+KMMODULE="java/krossjava"
+inherit java-pkg-2 java-ant-2 kde4-meta eutils
+
+DESCRIPTION="Java plugin for the kdelibs/kross scripting framework."
+KEYWORDS=""
+IUSE="debug"
+
+DEPEND="
+ >=virtual/jdk-1.5
+"
+RDEPEND="
+ >=virtual/jre-1.5
+"
+
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${PN}-4.2.3_includes.patch" )
+
+src_prepare() {
+ find "${S}" -iname '*.jar' | xargs rm -v
+ kde4-meta_src_prepare
+ java-pkg-2_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(-DENABLE_KROSSJAVA=ON)
+ export JAVA_HOME=$(java-config -g JAVA_HOME)
+ kde4-meta_src_configure
+ java-ant-2_src_configure
+}
+
+src_compile() {
+ kde4-meta_src_compile
+ cd "${S}/java/${PN}/${PN}/java/" || die
+ eant makejar
+}
+
+src_install() {
+ kde4-meta_src_install
+ java-pkg_dojar "${ED}/${KDEDIR}/$(get_libdir)/kde4/kross/kross.jar"
+
+ cd "${ED}${KDEDIR}/$(get_libdir)/kde4/kross/" || die
+ local path_prefix="../../../../"
+
+ if [[ ${KDEDIR} != /usr ]]; then
+ path_prefix="${path_prefix}../"
+ fi
+
+ dosym "${path_prefix}usr/share/${PN}-${SLOT}/lib/kross.jar" \
+ "${KDEDIR}/$(get_libdir)/kde4/kross/kross.jar"
+ java-pkg_regso "${ED}/${KDEDIR}/$(get_libdir)/kde4/libkrossjava.so"
+}