summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2010-05-03 21:12:18 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2010-05-03 21:12:18 +0000
commitaf0f2ce2a295e5d3788d8b8a608a1a5747e7df29 (patch)
tree945613e90c88992a887410625b498295f4a05cc9 /kde-base/krossjava
parent[kde-base] Drop KDE SC 4.4.1 (diff)
downloadgentoo-2-af0f2ce2a295e5d3788d8b8a608a1a5747e7df29.tar.gz
gentoo-2-af0f2ce2a295e5d3788d8b8a608a1a5747e7df29.tar.bz2
gentoo-2-af0f2ce2a295e5d3788d8b8a608a1a5747e7df29.zip
Version bump KDE 4.4.3
(Portage version: 2.2_rc67/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/krossjava')
-rw-r--r--kde-base/krossjava/ChangeLog7
-rw-r--r--kde-base/krossjava/krossjava-4.4.3.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog
index 927b4b0a0770..e29d1c4c79ff 100644
--- a/kde-base/krossjava/ChangeLog
+++ b/kde-base/krossjava/ChangeLog
@@ -1,6 +1,11 @@
# 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.27 2010/03/31 23:01:27 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.28 2010/05/03 21:12:18 alexxy Exp $
+
+*krossjava-4.4.3 (03 May 2010)
+
+ 03 May 2010; Alexey Shvetsov <alexxy@gentoo.org> +krossjava-4.4.3.ebuild:
+ Version bump
31 Mar 2010; Dror Levin <spatz@gentoo.org> -krossjava-4.3.4.ebuild,
-krossjava-4.4.0.ebuild:
diff --git a/kde-base/krossjava/krossjava-4.4.3.ebuild b/kde-base/krossjava/krossjava-4.4.3.ebuild
new file mode 100644
index 000000000000..43b7f9fe54c0
--- /dev/null
+++ b/kde-base/krossjava/krossjava-4.4.3.ebuild
@@ -0,0 +1,58 @@
+# 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.4.3.ebuild,v 1.1 2010/05/03 21:12:18 alexxy 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="~amd64 ~x86"
+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)
+ 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"
+}