diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2007-05-22 22:50:30 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2007-05-22 22:50:30 +0000 |
commit | 49277cf474c282cc1e311f9e0256d4ca4bb42414 (patch) | |
tree | 4cc788866b4812b2137b5d286cc46be172f0bff6 /kde-base | |
parent | Version bump. (diff) | |
download | gentoo-2-49277cf474c282cc1e311f9e0256d4ca4bb42414.tar.gz gentoo-2-49277cf474c282cc1e311f9e0256d4ca4bb42414.tar.bz2 gentoo-2-49277cf474c282cc1e311f9e0256d4ca4bb42414.zip |
Version bump.
(Portage version: 2.1.2.7)
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kdejava/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdejava/files/digest-kdejava-3.5.7 | 3 | ||||
-rw-r--r-- | kde-base/kdejava/kdejava-3.5.7.ebuild | 59 |
3 files changed, 68 insertions, 1 deletions
diff --git a/kde-base/kdejava/ChangeLog b/kde-base/kdejava/ChangeLog index 68cabe8f5017..75d63661f78a 100644 --- a/kde-base/kdejava/ChangeLog +++ b/kde-base/kdejava/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdejava # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/ChangeLog,v 1.55 2007/04/07 22:35:11 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/ChangeLog,v 1.56 2007/05/22 22:50:30 carlo Exp $ + +*kdejava-3.5.7 (22 May 2007) + + 22 May 2007; Carsten Lohrke <carlo@gentoo.org> +kdejava-3.5.7.ebuild: + Version bump. 07 Apr 2007; Joseph Jezak <josejx@gentoo.org> kdejava-3.5.5-r1.ebuild: Marked ppc stable for bug #155341. diff --git a/kde-base/kdejava/files/digest-kdejava-3.5.7 b/kde-base/kdejava/files/digest-kdejava-3.5.7 new file mode 100644 index 000000000000..05bcfa5cf6e3 --- /dev/null +++ b/kde-base/kdejava/files/digest-kdejava-3.5.7 @@ -0,0 +1,3 @@ +MD5 bc8a95f0cfd52ad0559a775cf045f230 kdebindings-3.5.7.tar.bz2 5577725 +RMD160 847907a204fe02e3a99a9d51a719d203d8831099 kdebindings-3.5.7.tar.bz2 5577725 +SHA256 a453e3097231c3ec278f50009bfd348dea9d818a41ac6e3940b234e46f596043 kdebindings-3.5.7.tar.bz2 5577725 diff --git a/kde-base/kdejava/kdejava-3.5.7.ebuild b/kde-base/kdejava/kdejava-3.5.7.ebuild new file mode 100644 index 000000000000..34503c8b2dba --- /dev/null +++ b/kde-base/kdejava/kdejava-3.5.7.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/kdejava-3.5.7.ebuild,v 1.1 2007/05/22 22:50:30 carlo Exp $ + +KMNAME=kdebindings +KMEXTRACTONLY=qtjava +KMCOPYLIB="libqtjavasupport qtjava/javalib/qtjava" +KM_MAKEFILESREV=1 +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit java-pkg-2 kde-meta + +DESCRIPTION="KDE java bindings" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" +COMMONDEPEND="$(deprange-dual 3.5.6-r1 $MAXKDEVER kde-base/kwin) + $(deprange-dual 3.5.6-r1 $MAXKDEVER kde-base/kcontrol) + $(deprange $PV $MAXKDEVER kde-base/qtjava)" +DEPEND=">=virtual/jdk-1.4 $COMMONDEPEND" +RDEPEND=">=virtual/jre-1.4 $COMMONDEPEND" +OLDDEPEND="~kde-base/kwin-$PV ~kde-base/kcontrol-$PV ~kde-base/qtjava-$PV virtual/jdk" + +PATCHES="${FILESDIR}/no-gtk-glib-check.diff + ${FILESDIR}/${PN}-${SLOT}-javacflags.patch" + +# Probably missing other kdebase, kdepim etc deps +# Needs to be compiled with just kdelibs installed to make sure + +# both eclasses define pkg_setup +pkg_setup() { + kde_pkg_setup + java-pkg-2_pkg_setup +} + +src_unpack() { + kde-meta_src_unpack + + local cp="$(java-pkg_getjars qtjava-${SLOT})" + local mf="${S}/kdejava/koala/org/kde/koala/Makefile.am" + sed -i -e "s#_CLASSPATH_#${cp}#" "${mf}" \ + || die "sed CLASSPATH failed" + sed -i -e "s#_JAVACFLAGS_#${JAVACFLAGS}#" "${mf}" \ + || die "sed JAVACFLAGS failed" +} + +src_compile() { + myconf="${myconf} --with-java=${JDK_HOME}" + kde-meta_src_compile +} + +src_install() { + kde-meta_src_install + + local libdir="${D}/usr/kde/${SLOT}/$(get_libdir)" + rm -rf "${libdir}/java" || die "rm failed" + + java-pkg_dojar ${S}/${PN}/koala/koala.jar + java-pkg_regso "${libdir}"/*.so +} |