diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-25 16:41:22 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-01-25 16:41:22 +0000 |
commit | dfae316b91cd725aae591d70c75b1f011abe4de6 (patch) | |
tree | 0fac6509e1ddaef51407f65c026f0c1a65fec6ab /kde-base/krossjava | |
parent | Version bump KDE 4.3.5 (diff) | |
download | gentoo-2-dfae316b91cd725aae591d70c75b1f011abe4de6.tar.gz gentoo-2-dfae316b91cd725aae591d70c75b1f011abe4de6.tar.bz2 gentoo-2-dfae316b91cd725aae591d70c75b1f011abe4de6.zip |
Version bump KDE 4.3.5
(Portage version: 2.2_rc61/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/krossjava')
-rw-r--r-- | kde-base/krossjava/ChangeLog | 10 | ||||
-rw-r--r-- | kde-base/krossjava/krossjava-4.3.5.ebuild | 58 |
2 files changed, 66 insertions, 2 deletions
diff --git a/kde-base/krossjava/ChangeLog b/kde-base/krossjava/ChangeLog index b01aad8e6968..fc374d2ab502 100644 --- a/kde-base/krossjava/ChangeLog +++ b/kde-base/krossjava/ChangeLog @@ -1,6 +1,12 @@ # 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.21 2009/12/23 12:05:16 grobian Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/ChangeLog,v 1.22 2010/01/25 16:41:22 scarabeus Exp $ + +*krossjava-4.3.5 (25 Jan 2010) + + 25 Jan 2010; Tomáš Chvátal <scarabeus@gentoo.org> + +krossjava-4.3.5.ebuild: + Version bump 23 Dec 2009; Fabian Groffen <grobian@gentoo.org> krossjava-4.3.4.ebuild: Don't use ED in an EAPI that does not declare it. diff --git a/kde-base/krossjava/krossjava-4.3.5.ebuild b/kde-base/krossjava/krossjava-4.3.5.ebuild new file mode 100644 index 000000000000..ac3822d97838 --- /dev/null +++ b/kde-base/krossjava/krossjava-4.3.5.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.3.5.ebuild,v 1.1 2010/01/25 16:41:22 scarabeus 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() { + 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" +} |