diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-11-03 16:31:05 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-11-03 16:31:05 +0000 |
commit | aed7569556697316dc345ae4ca172377916e8ab2 (patch) | |
tree | 6e2289aa47f31b041e7299a47dc94defaa7729a3 /kde-base/krossjava | |
parent | Keyword ~ppc64 wrt #337385 (diff) | |
download | gentoo-2-aed7569556697316dc345ae4ca172377916e8ab2.tar.gz gentoo-2-aed7569556697316dc345ae4ca172377916e8ab2.tar.bz2 gentoo-2-aed7569556697316dc345ae4ca172377916e8ab2.zip |
KDE SC 4.5.3 Version bump
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/krossjava')
-rw-r--r-- | kde-base/krossjava/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/krossjava/krossjava-4.5.3.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog index 673e4a9831c7..5a5f1e53f522 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.41 2010/10/06 09:17:34 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.42 2010/11/03 16:30:59 scarabeus Exp $ + +*krossjava-4.5.3 (03 Nov 2010) + + 03 Nov 2010; Tomáš Chvátal <scarabeus@gentoo.org> +krossjava-4.5.3.ebuild: + Version bump *krossjava-4.5.2 (05 Oct 2010) diff --git a/kde-base/krossjava/krossjava-4.5.3.ebuild b/kde-base/krossjava/krossjava-4.5.3.ebuild new file mode 100644 index 000000000000..9f0b29927117 --- /dev/null +++ b/kde-base/krossjava/krossjava-4.5.3.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.3.ebuild,v 1.1 2010/11/03 16:30:59 scarabeus 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" +} |