diff options
author | Alex Alexander <wired@gentoo.org> | 2009-11-02 21:37:40 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2009-11-02 21:37:40 +0000 |
commit | a0d106d4255c99e2ac43c35e4bf2f38db29ccb42 (patch) | |
tree | c5a14b5d998d9dbff3bc8ca7ba354efd4d032aa7 /kde-base/krossjava | |
parent | Version bump KDE 4.3.3 (diff) | |
download | gentoo-2-a0d106d4255c99e2ac43c35e4bf2f38db29ccb42.tar.gz gentoo-2-a0d106d4255c99e2ac43c35e4bf2f38db29ccb42.tar.bz2 gentoo-2-a0d106d4255c99e2ac43c35e4bf2f38db29ccb42.zip |
Version bump KDE 4.3.3
(Portage version: 2.2_rc48/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.3.3.ebuild | 58 |
2 files changed, 64 insertions, 1 deletions
diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog index b4597a1b03dd..091d40ca3c84 100644 --- a/kde-base/krossjava/ChangeLog +++ b/kde-base/krossjava/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/krossjava # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.12 2009/10/18 15:48:48 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.13 2009/11/02 21:37:40 wired Exp $ + +*krossjava-4.3.3 (02 Nov 2009) + + 02 Nov 2009; Alex Alexander <wired@gentoo.org> +krossjava-4.3.3.ebuild: + Version bump 18 Oct 2009; Markus Meier <maekke@gentoo.org> krossjava-4.3.1.ebuild: x86 stable, bug #287697 diff --git a/kde-base/krossjava/krossjava-4.3.3.ebuild b/kde-base/krossjava/krossjava-4.3.3.ebuild new file mode 100644 index 000000000000..8ecc8ac71276 --- /dev/null +++ b/kde-base/krossjava/krossjava-4.3.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.3.3.ebuild,v 1.1 2009/11/02 21:37:40 wired Exp $ + +EAPI="2" + +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() { + export 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 "${D}/${KDEDIR}/$(get_libdir)/kde4/kross/kross.jar" + + cd "${D}${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 "${D}/${KDEDIR}/$(get_libdir)/kde4/libkrossjava.so" +} |