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