Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 114327 | Differences between
and this patch

Collapse All | Expand All

(-)qtjava-3.5.2.ebuild (-10 / +11 lines)
Lines 1-17 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
1
# Copyright 1999-2006 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.5.2.ebuild,v 1.8 2006/07/25 09:28:51 flameeyes Exp $
3
# $Header: /var/cvsroot/gentoo-x86/kde-base/qtjava/qtjava-3.4.3-r1.ebuild,v 1.2 2006/01/02 17:54:07 hansmi Exp $
4
4
5
KMNAME=kdebindings
5
KMNAME=kdebindings
6
KM_MAKEFILESREV=1
6
KM_MAKEFILESREV=1
7
MAXKDEVER=3.5.4
7
MAXKDEVER=3.5.4
8
KM_DEPRANGE="$PV $MAXKDEVER"
8
KM_DEPRANGE="$PV $MAXKDEVER"
9
inherit kde-meta
9
10
# Order is IMPORTANT!
11
inherit java-pkg kde-meta
10
12
11
DESCRIPTION="Java bindings for QT"
13
DESCRIPTION="Java bindings for QT"
12
HOMEPAGE="http://developer.kde.org/language-bindings/java/qtjava.html"
14
HOMEPAGE="http://developer.kde.org/language-bindings/java/qtjava.html"
13
15
14
KEYWORDS="amd64 ppc ppc64 x86"
16
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
15
IUSE=""
17
IUSE=""
16
DEPEND="virtual/jdk"
18
DEPEND="virtual/jdk"
17
PATCHES="$FILESDIR/no-gtk-glib-check.diff"
19
PATCHES="$FILESDIR/no-gtk-glib-check.diff"
Lines 23-36 Link Here
23
25
24
# Doesn't really need kde, only qt? But then, it installs by default into $KDEDIR/...
26
# Doesn't really need kde, only qt? But then, it installs by default into $KDEDIR/...
25
27
26
# Someone who's into java should look over this...
27
28
src_install() {
28
src_install() {
29
	kde-meta_src_install
29
	kde-meta_src_install
30
30
31
	mkdir -p $D/usr/share/qtjava
31
	# We dont want the installed location
32
	cat > $D/usr/share/qtjava/package.env << EOF
32
	# Is there a cleaner way?
33
DESCRIPTION=Java bindings for QT
33
	rm -rf ${D}/usr/kde/${SLOT}/lib/java
34
CLASSPATH=:$PREFIX/lib/java/qtjava.jar:
34
35
EOF
35
	# Proper install of jar
36
	java-pkg_dojar ${S}/qtjava/javalib/qtjava.jar
36
}
37
}

Return to bug 114327