summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-10-20 00:00:37 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-10-20 00:00:37 +0000
commit6956f78ffe03ad38ca9fc672ab1b983dd8071ee5 (patch)
treec8c8fdb5e0506fadb5ceae32d57ead0b07c77f6f /kde-base/qtjava
parentVersion bump, bug #195981 (diff)
downloadhistorical-6956f78ffe03ad38ca9fc672ab1b983dd8071ee5.tar.gz
historical-6956f78ffe03ad38ca9fc672ab1b983dd8071ee5.tar.bz2
historical-6956f78ffe03ad38ca9fc672ab1b983dd8071ee5.zip
Bump to KDE 3.5.8.
Package-Manager: portage-2.1.3.15
Diffstat (limited to 'kde-base/qtjava')
-rw-r--r--kde-base/qtjava/ChangeLog7
-rw-r--r--kde-base/qtjava/files/digest-qtjava-3.5.83
-rw-r--r--kde-base/qtjava/qtjava-3.5.8.ebuild53
3 files changed, 62 insertions, 1 deletions
diff --git a/kde-base/qtjava/ChangeLog b/kde-base/qtjava/ChangeLog
index c8ad7b1456f0..638d20813595 100644
--- a/kde-base/qtjava/ChangeLog
+++ b/kde-base/qtjava/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/qtjava
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v 1.53 2007/08/11 17:30:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v 1.54 2007/10/19 23:57:31 philantrop Exp $
+
+*qtjava-3.5.8 (19 Oct 2007)
+
+ 19 Oct 2007; Wulf C. Krueger <philantrop@gentoo.org> +qtjava-3.5.8.ebuild:
+ Bump to KDE 3.5.8.
11 Aug 2007; Raúl Porcel <armin76@gentoo.org> qtjava-3.5.7.ebuild:
x86 stable wrt #176297
diff --git a/kde-base/qtjava/files/digest-qtjava-3.5.8 b/kde-base/qtjava/files/digest-qtjava-3.5.8
new file mode 100644
index 000000000000..4968662d1c8f
--- /dev/null
+++ b/kde-base/qtjava/files/digest-qtjava-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/qtjava/qtjava-3.5.8.ebuild b/kde-base/qtjava/qtjava-3.5.8.ebuild
new file mode 100644
index 000000000000..d69525f26a0c
--- /dev/null
+++ b/kde-base/qtjava/qtjava-3.5.8.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.5.8.ebuild,v 1.1 2007/10/19 23:57:31 philantrop Exp $
+
+KMNAME=kdebindings
+KM_MAKEFILESREV=1
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit java-pkg-2 kde-meta
+
+DESCRIPTION="Java bindings for QT"
+HOMEPAGE="http://developer.kde.org/language-bindings/java/qtjava.html"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+PATCHES="${FILESDIR}/no-gtk-glib-check.diff
+ ${FILESDIR}/${PN}-${SLOT}-javacflags.patch"
+
+pkg_setup() {
+ if ! built_with_use =x11-libs/qt-3* opengl ; then
+ eerror "${CATEGORY}/${PN} needs Qt 3 built with OpenGL support."
+ die "Please reemerge =x11-libs/qt-3* with USE=\"opengl\"."
+ fi
+
+ kde_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ kde-meta_src_unpack
+
+ sed -i -e "s#_JAVACFLAGS_#${JAVACFLAGS}#" \
+ "${S}/qtjava/javalib/org/kde/qt/Makefile.am" || die "sed failed"
+}
+
+src_compile() {
+ myconf="${myconf} --with-java=${JDK_HOME}"
+ kde-meta_src_compile
+}
+
+# Doesn't really need kde, only qt? But then, it installs by default into $KDEDIR/...
+src_install() {
+ kde-meta_src_install
+
+ local libdir="${D}/usr/kde/${SLOT}/$(get_libdir)"
+ # Is there a cleaner way?
+ rm -rf "${libdir}/java" || die "rm failed"
+
+ java-pkg_dojar "${S}/${PN}/javalib/${PN}.jar"
+ java-pkg_regso "${libdir}"/*.so
+}