summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-10-19 22:26:20 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-10-19 22:26:20 +0000
commit918d719add0404f7b75380300b9ed27026a7839e (patch)
tree4ccc988b8916d816f875d24f4ff66c2099b96a4e /kde-base/kdejava
parentBump to KDE 3.5.8. (diff)
downloadgentoo-2-918d719add0404f7b75380300b9ed27026a7839e.tar.gz
gentoo-2-918d719add0404f7b75380300b9ed27026a7839e.tar.bz2
gentoo-2-918d719add0404f7b75380300b9ed27026a7839e.zip
Bump to KDE 3.5.8.
(Portage version: 2.1.3.15)
Diffstat (limited to 'kde-base/kdejava')
-rw-r--r--kde-base/kdejava/ChangeLog8
-rw-r--r--kde-base/kdejava/files/digest-kdejava-3.5.83
-rw-r--r--kde-base/kdejava/kdejava-3.5.8.ebuild59
3 files changed, 69 insertions, 1 deletions
diff --git a/kde-base/kdejava/ChangeLog b/kde-base/kdejava/ChangeLog
index fd4ca5b2401d..c0e32149ed49 100644
--- a/kde-base/kdejava/ChangeLog
+++ b/kde-base/kdejava/ChangeLog
@@ -1,6 +1,12 @@
# 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.61 2007/08/11 17:34:09 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdejava/ChangeLog,v 1.62 2007/10/19 22:26:19 philantrop Exp $
+
+*kdejava-3.5.8 (19 Oct 2007)
+
+ 19 Oct 2007; Wulf C. Krueger <philantrop@gentoo.org>
+ +kdejava-3.5.8.ebuild:
+ Bump to KDE 3.5.8.
11 Aug 2007; Raúl Porcel <armin76@gentoo.org> kdejava-3.5.7.ebuild:
x86 stable wrt #176297
diff --git a/kde-base/kdejava/files/digest-kdejava-3.5.8 b/kde-base/kdejava/files/digest-kdejava-3.5.8
new file mode 100644
index 000000000000..4968662d1c8f
--- /dev/null
+++ b/kde-base/kdejava/files/digest-kdejava-3.5.8
@@ -0,0 +1,3 @@
+MD5 b5980331e09c34dcea64297046746cc3 kdebindings-3.5.8.tar.bz2 3492800
+RMD160 dfab98ca8d9c30344ef2732f03deea87d15a9c74 kdebindings-3.5.8.tar.bz2 3492800
+SHA256 39b8449aaf0bee81a701b0915c4d742149ef37450483cce3133c6163ea3a732c kdebindings-3.5.8.tar.bz2 3492800
diff --git a/kde-base/kdejava/kdejava-3.5.8.ebuild b/kde-base/kdejava/kdejava-3.5.8.ebuild
new file mode 100644
index 000000000000..9bb22ed720d2
--- /dev/null
+++ b/kde-base/kdejava/kdejava-3.5.8.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.8.ebuild,v 1.1 2007/10/19 22:26:19 philantrop 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 $PV 3.5.8 kde-base/kwin)
+ $(deprange-dual $PV 3.5.8 kde-base/kcontrol)
+ $(deprange $PV 3.5.8 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
+}