diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2008-02-20 23:36:47 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2008-02-20 23:36:47 +0000 |
commit | 86166760b8aa7e1c789581787e2f7bd3d159df87 (patch) | |
tree | 3c1095c1c98ae9f6510c9d93134aa0062970a3bd /kde-base/kdejava | |
parent | Enabled support for openmpi and mpich2 (see bug #210639). (diff) | |
download | historical-86166760b8aa7e1c789581787e2f7bd3d159df87.tar.gz historical-86166760b8aa7e1c789581787e2f7bd3d159df87.tar.bz2 historical-86166760b8aa7e1c789581787e2f7bd3d159df87.zip |
Version bump to KDE 3.5.9.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'kde-base/kdejava')
-rw-r--r-- | kde-base/kdejava/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kdejava/kdejava-3.5.9.ebuild | 58 |
2 files changed, 65 insertions, 1 deletions
diff --git a/kde-base/kdejava/ChangeLog b/kde-base/kdejava/ChangeLog index e97713381602..f182d8cebdb6 100644 --- a/kde-base/kdejava/ChangeLog +++ b/kde-base/kdejava/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kdejava # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/ChangeLog,v 1.68 2008/02/19 17:02:20 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/ChangeLog,v 1.69 2008/02/20 22:50:09 philantrop Exp $ + +*kdejava-3.5.9 (20 Feb 2008) + + 20 Feb 2008; Wulf C. Krueger <philantrop@gentoo.org> + +kdejava-3.5.9.ebuild: + Version bump to KDE 3.5.9. 19 Feb 2008; Vlastimil Babka <caster@gentoo.org> +files/no-libhpi.so-check.patch, kdejava-3.5.8.ebuild: diff --git a/kde-base/kdejava/kdejava-3.5.9.ebuild b/kde-base/kdejava/kdejava-3.5.9.ebuild new file mode 100644 index 000000000000..e8739c7ffa16 --- /dev/null +++ b/kde-base/kdejava/kdejava-3.5.9.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/kdejava-3.5.9.ebuild,v 1.1 2008/02/20 22:50:09 philantrop Exp $ + +KMNAME=kdebindings +KMEXTRACTONLY=qtjava +KMCOPYLIB="libqtjavasupport qtjava/javalib/qtjava" +KM_MAKEFILESREV=1 +EAPI="1" +inherit java-pkg-2 kde-meta + +DESCRIPTION="KDE java bindings" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" +COMMONDEPEND=">=kde-base/kwin-${PV}:${SLOT} + >=kde-base/kcontrol-${PV}:${SLOT} + >=kde-base/qtjava-${PV}:${SLOT}" +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 +} |