From b55417d98c3ac6be2310a3971632cceac43c9378 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Wed, 26 Jan 2011 20:29:26 +0000 Subject: [kde-base] Add KDE SC 4.6.0 (Portage version: 2.2.0_alpha19_p2/cvs/Linux x86_64, RepoMan options: --force) --- kde-base/krossjava/ChangeLog | 7 +++- kde-base/krossjava/krossjava-4.6.0.ebuild | 59 +++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 kde-base/krossjava/krossjava-4.6.0.ebuild (limited to 'kde-base/krossjava') diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog index 0a1d8140d796..c74d277368b9 100644 --- a/kde-base/krossjava/ChangeLog +++ b/kde-base/krossjava/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/krossjava # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.44 2011/01/10 11:53:39 tampakrap Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.45 2011/01/26 20:29:22 alexxy Exp $ + +*krossjava-4.6.0 (26 Jan 2011) + + 26 Jan 2011; Alexey Shvetsov +krossjava-4.6.0.ebuild: + Version bump KDE SC 4.6.0 *krossjava-4.5.5 (10 Jan 2011) diff --git a/kde-base/krossjava/krossjava-4.6.0.ebuild b/kde-base/krossjava/krossjava-4.6.0.ebuild new file mode 100644 index 000000000000..de62cb3d580d --- /dev/null +++ b/kde-base/krossjava/krossjava-4.6.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.6.0.ebuild,v 1.1 2011/01/26 20:29:22 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 ~ppc ~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) + 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" +} -- cgit v1.2.3-65-gdbad