From 2e9c3945a027c93576e30db510cf529ca8e31f03 Mon Sep 17 00:00:00 2001 From: Carsten Lohrke Date: Wed, 23 May 2007 02:42:14 +0000 Subject: Version bump. (Portage version: 2.1.2.7) --- kde-base/qtjava/ChangeLog | 7 +++- kde-base/qtjava/files/digest-qtjava-3.5.7 | 3 ++ kde-base/qtjava/qtjava-3.5.7.ebuild | 54 +++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 kde-base/qtjava/files/digest-qtjava-3.5.7 create mode 100644 kde-base/qtjava/qtjava-3.5.7.ebuild (limited to 'kde-base/qtjava') diff --git a/kde-base/qtjava/ChangeLog b/kde-base/qtjava/ChangeLog index ef7e81a42610..dbd2403f70b4 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.48 2007/04/25 15:45:13 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v 1.49 2007/05/23 02:42:14 carlo Exp $ + +*qtjava-3.5.7 (23 May 2007) + + 23 May 2007; Carsten Lohrke +qtjava-3.5.7.ebuild: + Version bump. 25 Apr 2007; Carsten Lohrke qtjava-3.5.6-r1.ebuild: Ensure Qt is built with OpenGL support, see bug #152329. diff --git a/kde-base/qtjava/files/digest-qtjava-3.5.7 b/kde-base/qtjava/files/digest-qtjava-3.5.7 new file mode 100644 index 000000000000..05bcfa5cf6e3 --- /dev/null +++ b/kde-base/qtjava/files/digest-qtjava-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/qtjava/qtjava-3.5.7.ebuild b/kde-base/qtjava/qtjava-3.5.7.ebuild new file mode 100644 index 000000000000..4689e3958eb8 --- /dev/null +++ b/kde-base/qtjava/qtjava-3.5.7.ebuild @@ -0,0 +1,54 @@ +# 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.7.ebuild,v 1.1 2007/05/23 02:42:14 carlo 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 +} -- cgit v1.2.3-65-gdbad