summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2005-03-13 21:19:13 +0000
committerDan Armak <danarmak@gentoo.org>2005-03-13 21:19:13 +0000
commit5ee4b6d4ade5f83b6f28f49dd66a1df381d2c7f5 (patch)
treeec7b172633d80bd566500eb79f61cfee9931757c /kde-base/kdejava/kdejava-3.4.0.ebuild
parentadd alpha keyword (diff)
downloadhistorical-5ee4b6d4ade5f83b6f28f49dd66a1df381d2c7f5.tar.gz
historical-5ee4b6d4ade5f83b6f28f49dd66a1df381d2c7f5.tar.bz2
historical-5ee4b6d4ade5f83b6f28f49dd66a1df381d2c7f5.zip
kde 3.4.0 ebuilds. the tarballs will be available from upstream Wednesday.
as per cryos' request, keeping the ~amd64 keywords where present, even though i'm not an amd64 dev. Package-Manager: portage-2.0.51.19
Diffstat (limited to 'kde-base/kdejava/kdejava-3.4.0.ebuild')
-rw-r--r--kde-base/kdejava/kdejava-3.4.0.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/kde-base/kdejava/kdejava-3.4.0.ebuild b/kde-base/kdejava/kdejava-3.4.0.ebuild
new file mode 100644
index 000000000000..a4e8bd0b93a2
--- /dev/null
+++ b/kde-base/kdejava/kdejava-3.4.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/kdejava-3.4.0.ebuild,v 1.1 2005/03/13 21:19:02 danarmak Exp $
+
+KMNAME=kdebindings
+KMEXTRACTONLY=qtjava
+KMCOPYLIB="libqtjavasupport qtjava/javalib/qtjava"
+KM_MAKEFILESREV=1
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta
+
+DESCRIPTION="KDE java bindings"
+KEYWORDS="~x86"
+IUSE=""
+COMMONDEPEND="$(deprange $PV $MAXKDEVER kde-base/kwin)
+ $(deprange $PV $MAXKDEVER kde-base/kcontrol)
+ $(deprange $PV $MAXKDEVER kde-base/qtjava)"
+DEPEND="virtual/jdk $COMMONDEPEND"
+RDEPEND="virtual/jre $COMMONDEPEND"
+OLDDEPEND="~kde-base/kwin-$PV ~kde-base/kcontrol-$PV ~kde-base/qtjava-$PV virtual/jdk"
+
+PATCHES="$FILESDIR/no-gtk-glib-check.diff $FILESDIR/kdejava-3.4.0_rc1-classpath.diff"
+
+
+# Probably missing other kdebase, kdepim etc deps
+# Needs to be compiled with just kdelibs installed to make sure
+
+# Someone who knows about java-in-gentoo should look at this and the
+# other java kdebindings, and fix the stupid thing
+src_unpack() {
+ kde-meta_src_unpack
+
+ # $PREFIX-dependant, so don't go into the makefile tarballs
+ cd $S/kdejava/koala/org/kde/koala
+ for x in Makefile.am Makefile.in; do
+ mv $x $x.orig
+ sed -e "s:_CLASSPATH_:$(java-config -p qtjava):" $x.orig > $x
+ rm $x.orig
+ done
+}
+
+src_compile() {
+ myconf="$myconf --with-java=`java-config --jdk-home`"
+ kde-meta_src_compile
+}