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

Collapse All | Expand All

(-)googleearth-4_beta.ebuild (-6 / +12 lines)
Lines 6-18 Link Here
6
6
7
DESCRIPTION="A 3D interface to the planet"
7
DESCRIPTION="A 3D interface to the planet"
8
HOMEPAGE="http://earth.google.com/"
8
HOMEPAGE="http://earth.google.com/"
9
SRC_URI="http://dl.google.com/earth/GE4/GoogleEarthLinux.bin"
9
SRC_URI="http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
10
	 video_cards_fglrx? ( http://dev.gentooexperimental.org/~anarchy/libGL.so.1 )"
10
11
11
LICENSE="googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB"
12
LICENSE="googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB"
12
SLOT="0"
13
SLOT="0"
13
KEYWORDS="~x86 ~amd64"
14
KEYWORDS="~x86 ~amd64"
14
RESTRICT="mirror strip"
15
RESTRICT="mirror strip"
15
IUSE=""
16
IUSE="video_cards_fglrx"
16
17
17
RDEPEND="x86? (
18
RDEPEND="x86? (
18
	media-libs/fontconfig
19
	media-libs/fontconfig
Lines 31-45 Link Here
31
	app-emulation/emul-linux-x86-baselibs
32
	app-emulation/emul-linux-x86-baselibs
32
	|| (
33
	|| (
33
		>=app-emulation/emul-linux-x86-xlibs-7.0
34
		>=app-emulation/emul-linux-x86-xlibs-7.0
34
		x11-drivers/nvidia-drivers
35
		x11-drivers/nvidia-drivers 
35
		x11-drivers/nvidia-legacy-drivers
36
		x11-drivers/nvidia-legacy-drivers 
36
		<x11-drivers/ati-drivers-8.28.8 ) )
37
		video_cards_fglrx? ( x11-drivers/ati-drivers )
38
	 ))
37
	media-fonts/ttf-bitstream-vera"
39
	media-fonts/ttf-bitstream-vera"
38
40
39
S=${WORKDIR}
41
S=${WORKDIR}
40
42
41
src_unpack() {
43
src_unpack() {
42
	unpack_makeself
44
	unpack_makeself GoogleEarthLinux.bin
43
	# make the postinst scripts behave
45
	# make the postinst scripts behave
44
	sed -i -e 's:$SETUP_INSTALLPATH/::' \
46
	sed -i -e 's:$SETUP_INSTALLPATH/::' \
45
		-e "s:^xdg-mime:linux/xdg/xdg-mime:" \
47
		-e "s:^xdg-mime:linux/xdg/xdg-mime:" \
Lines 77-82 Link Here
77
	# make sure we install with correct permissions
79
	# make sure we install with correct permissions
78
	fowners -R root:root /opt/${PN}
80
	fowners -R root:root /opt/${PN}
79
	fperms -R a-x,a+X /opt/googleearth/{xml,res{,ources}}
81
	fperms -R a-x,a+X /opt/googleearth/{xml,res{,ources}}
82
83
	if use video_cards_fglrx; then
84
		mv ${DISTDIR}/libGL.so.1 ${D}/opt/${PN}
85
	fi
80
}
86
}
81
87
82
pkg_postinst() {
88
pkg_postinst() {

Return to bug 158701