Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/qtjava: ChangeLog qtjava-3.5.9.ebuild
Date: Wed, 20 Feb 2008 23:34:53
Message-Id: E1JRySg-0000CU-Hr@stork.gentoo.org
1 philantrop 08/02/20 23:34:50
2
3 Modified: ChangeLog
4 Added: qtjava-3.5.9.ebuild
5 Log:
6 Version bump to KDE 3.5.9.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.61 kde-base/qtjava/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/qtjava/ChangeLog?rev=1.61&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/qtjava/ChangeLog?rev=1.61&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/qtjava/ChangeLog?r1=1.60&r2=1.61
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v
19 retrieving revision 1.60
20 retrieving revision 1.61
21 diff -u -r1.60 -r1.61
22 --- ChangeLog 19 Feb 2008 15:53:22 -0000 1.60
23 +++ ChangeLog 20 Feb 2008 23:34:49 -0000 1.61
24 @@ -1,6 +1,11 @@
25 # ChangeLog for kde-base/qtjava
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v 1.60 2008/02/19 15:53:22 caster Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/ChangeLog,v 1.61 2008/02/20 23:34:49 philantrop Exp $
29 +
30 +*qtjava-3.5.9 (20 Feb 2008)
31 +
32 + 20 Feb 2008; Wulf C. Krueger <philantrop@g.o> +qtjava-3.5.9.ebuild:
33 + Version bump to KDE 3.5.9.
34
35 19 Feb 2008; Vlastimil Babka <caster@g.o>
36 +files/no-libhpi.so-check.patch, qtjava-3.5.8.ebuild:
37
38
39
40 1.1 kde-base/qtjava/qtjava-3.5.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/qtjava/qtjava-3.5.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/qtjava/qtjava-3.5.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: qtjava-3.5.9.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.5.9.ebuild,v 1.1 2008/02/20 23:34:49 philantrop Exp $
50
51 KMNAME=kdebindings
52 KM_MAKEFILESREV=1
53 EAPI="1"
54 inherit java-pkg-2 kde-meta
55
56 DESCRIPTION="Java bindings for QT"
57 HOMEPAGE="http://developer.kde.org/language-bindings/java/qtjava.html"
58
59 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
60 IUSE=""
61 DEPEND=">=virtual/jdk-1.4"
62 RDEPEND=">=virtual/jre-1.4"
63 PATCHES="${FILESDIR}/no-gtk-glib-check.diff
64 ${FILESDIR}/${PN}-${SLOT}-javacflags.patch"
65
66 pkg_setup() {
67 if ! built_with_use x11-libs/qt:3 opengl ; then
68 eerror "${CATEGORY}/${PN} needs Qt 3 built with OpenGL support."
69 die "Please reemerge x11-libs/qt:3 with USE=\"opengl\"."
70 fi
71
72 kde_pkg_setup
73 java-pkg-2_pkg_setup
74 }
75
76 src_unpack() {
77 kde-meta_src_unpack
78
79 sed -i -e "s#_JAVACFLAGS_#${JAVACFLAGS}#" \
80 "${S}/qtjava/javalib/org/kde/qt/Makefile.am" || die "sed failed"
81 }
82
83 src_compile() {
84 myconf="${myconf} --with-java=${JDK_HOME}"
85 kde-meta_src_compile
86 }
87
88 # Doesn't really need kde, only qt? But then, it installs by default into $KDEDIR/...
89 src_install() {
90 kde-meta_src_install
91
92 local libdir="${D}/usr/kde/${SLOT}/$(get_libdir)"
93 # Is there a cleaner way?
94 rm -rf "${libdir}/java" || die "rm failed"
95
96 java-pkg_dojar "${S}/${PN}/javalib/${PN}.jar"
97 java-pkg_regso "${libdir}"/*.so
98 }
99
100
101
102 --
103 gentoo-commits@l.g.o mailing list