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

Collapse All | Expand All

(-)googleearth-5.1.3533.1731.ebuild (-3 / +29 lines)
Lines 17-23 Link Here
17
SLOT="0"
17
SLOT="0"
18
KEYWORDS="~amd64 ~x86"
18
KEYWORDS="~amd64 ~x86"
19
RESTRICT="mirror strip"
19
RESTRICT="mirror strip"
20
IUSE=""
20
IUSE="curl opengl qt4"
21
21
22
GCC_NEEDED="4.2"
22
GCC_NEEDED="4.2"
23
23
Lines 36-41 Link Here
36
		x11-libs/libXdmcp
36
		x11-libs/libXdmcp
37
		sys-libs/zlib
37
		sys-libs/zlib
38
		dev-libs/glib:2
38
		dev-libs/glib:2
39
		curl? ( net-misc/curl )
40
		qt4? ( >=x11-libs/qt-core-4.5.3-r2
41
			>=x11-libs/qt-gui-4.5.3-r2
42
			>=x11-libs/qt-webkit-4.5.3
43
		)
39
	)
44
	)
40
	amd64? (
45
	amd64? (
41
		app-emulation/emul-linux-x86-xlibs
46
		app-emulation/emul-linux-x86-xlibs
Lines 46-52 Link Here
46
			<x11-drivers/ati-drivers-8.28.8
51
			<x11-drivers/ati-drivers-8.28.8
47
		)
52
		)
48
	)
53
	)
49
	media-fonts/ttf-bitstream-vera"
54
	|| (
55
		media-fonts/dejavu
56
		media-fonts/ttf-bitstream-vera
57
	)"
50
58
51
S="${WORKDIR}"
59
S="${WORKDIR}"
52
60
Lines 108-116 Link Here
108
116
109
	cd "${D}"/opt/${PN}
117
	cd "${D}"/opt/${PN}
110
	tar xf "${WORKDIR}"/${PN}-data.tar
118
	tar xf "${WORKDIR}"/${PN}-data.tar
119
	epatch "${FILESDIR}"/locale_bug.patch
120
121
	if use curl ; then
122
		dosym /usr/lib/libcurl.so.4 /opt/${PN}/
123
	fi
124
125
	if use opengl ; then
126
		dosym /usr/lib/libGLU.so.1 /opt/${PN}/
127
	fi
128
129
	if use qt4 ; then
130
		dosym /usr/lib/qt4/libQtCore.so.4 /opt/${PN}/
131
		dosym /usr/lib/qt4/libQtNetwork.so.4 /opt/${PN}/
132
		dosym /usr/lib/qt4/libQtGui.so.4 /opt/${PN}/
133
		dosym /usr/lib/qt4/libQtWebKit.so.4 /opt/${PN}/
134
		dosym /usr/lib/qt4/plugins/imageformats/libqgif.so /opt/${PN}/plugins/imageformats/
135
		dosym /usr/lib/qt4/plugins/imageformats/libqjpeg.so /opt/${PN}/plugins/imageformats/
136
	fi
111
137
112
	fowners -R root:root /opt/${PN}
138
	fowners -R root:root /opt/${PN}
113
	fperms -R a-x,a+X /opt/googleearth/resources
139
	fperms -R a-x,a+X /opt/${PN}/resources
114
}
140
}
115
141
116
pkg_postinst() {
142
pkg_postinst() {

Return to bug 262780