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/qtjava | |
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/qtjava')
-rw-r--r-- | kde-base/qtjava/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/qtjava/qtjava-3.5.9.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/kde-base/qtjava/ChangeLog b/kde-base/qtjava/ChangeLog index b5d5b9d6c31d..4e19ad5bc815 100644 --- a/kde-base/qtjava/ChangeLog +++ b/kde-base/qtjava/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/qtjava # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v 1.60 2008/02/19 15:53:22 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v 1.61 2008/02/20 23:34:49 philantrop Exp $ + +*qtjava-3.5.9 (20 Feb 2008) + + 20 Feb 2008; Wulf C. Krueger <philantrop@gentoo.org> +qtjava-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, qtjava-3.5.8.ebuild: diff --git a/kde-base/qtjava/qtjava-3.5.9.ebuild b/kde-base/qtjava/qtjava-3.5.9.ebuild new file mode 100644 index 000000000000..b0d1f477d310 --- /dev/null +++ b/kde-base/qtjava/qtjava-3.5.9.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.5.9.ebuild,v 1.1 2008/02/20 23:34:49 philantrop Exp $ + +KMNAME=kdebindings +KM_MAKEFILESREV=1 +EAPI="1" +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 +} |