Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/googleearth: googleearth-5.1.3506.3999_beta.ebuild ChangeLog
Date: Fri, 11 Sep 2009 12:41:00
Message-Id: E1Mm5Qv-0001Wy-UZ@stork.gentoo.org
1 caster 09/09/11 12:40:57
2
3 Modified: ChangeLog
4 Added: googleearth-5.1.3506.3999_beta.ebuild
5 Log:
6 Version bump. Fixes bug #284466 and uses QA_DT_HASH, bug #275140.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.47 x11-misc/googleearth/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/googleearth/ChangeLog?rev=1.47&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/googleearth/ChangeLog?rev=1.47&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/googleearth/ChangeLog?r1=1.46&r2=1.47
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/googleearth/ChangeLog,v
19 retrieving revision 1.46
20 retrieving revision 1.47
21 diff -u -r1.46 -r1.47
22 --- ChangeLog 22 Jun 2009 21:47:37 -0000 1.46
23 +++ ChangeLog 11 Sep 2009 12:40:57 -0000 1.47
24 @@ -1,6 +1,12 @@
25 # ChangeLog for x11-misc/googleearth
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/googleearth/ChangeLog,v 1.46 2009/06/22 21:47:37 caster Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/googleearth/ChangeLog,v 1.47 2009/09/11 12:40:57 caster Exp $
29 +
30 +*googleearth-5.1.3506.3999_beta (11 Sep 2009)
31 +
32 + 11 Sep 2009; Vlastimil Babka <caster@g.o>
33 + +googleearth-5.1.3506.3999_beta.ebuild:
34 + Version bump. Fixes bug #284466 and uses QA_DT_HASH, bug #275140.
35
36 22 Jun 2009; Vlastimil Babka <caster@g.o>
37 googleearth-5.0.11733.9347.ebuild, metadata.xml:
38
39
40
41 1.1 x11-misc/googleearth/googleearth-5.1.3506.3999_beta.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/googleearth/googleearth-5.1.3506.3999_beta.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/googleearth/googleearth-5.1.3506.3999_beta.ebuild?rev=1.1&content-type=text/plain
45
46 Index: googleearth-5.1.3506.3999_beta.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/googleearth/googleearth-5.1.3506.3999_beta.ebuild,v 1.1 2009/09/11 12:40:57 caster Exp $
51
52 EAPI=2
53
54 inherit eutils fdo-mime
55
56 DESCRIPTION="A 3D interface to the planet"
57 HOMEPAGE="http://earth.google.com/"
58 # no upstream versioning, version determined from help/about
59 # incorrect digest means upstream bumped and thus needs version bump
60 SRC_URI="http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
61 -> GoogleEarthLinux-${PV}.bin"
62
63 LICENSE="googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 RESTRICT="mirror strip"
67 IUSE=""
68
69 RDEPEND="
70 x86? (
71 media-libs/fontconfig
72 media-libs/freetype
73 virtual/opengl
74 x11-libs/libICE
75 x11-libs/libSM
76 x11-libs/libX11
77 x11-libs/libXi
78 x11-libs/libXext
79 x11-libs/libXrender
80 x11-libs/libXau
81 x11-libs/libXdmcp
82 sys-libs/zlib
83 dev-libs/glib:2
84 )
85 amd64? (
86 app-emulation/emul-linux-x86-xlibs
87 app-emulation/emul-linux-x86-baselibs
88 || (
89 >=app-emulation/emul-linux-x86-xlibs-7.0
90 x11-drivers/nvidia-drivers
91 <x11-drivers/ati-drivers-8.28.8
92 )
93 )
94 media-fonts/ttf-bitstream-vera"
95
96 S="${WORKDIR}"
97
98 QA_TEXTRELS="opt/googleearth/libgps.so
99 opt/googleearth/libgooglesearch.so
100 opt/googleearth/libevll.so
101 opt/googleearth/librender.so
102 opt/googleearth/libinput_plugin.so
103 opt/googleearth/libflightsim.so
104 opt/googleearth/libcollada.so
105 opt/googleearth/libminizip.so
106 opt/googleearth/libauth.so
107 opt/googleearth/libbasicingest.so
108 opt/googleearth/libmeasure.so
109 opt/googleearth/libgoogleearth_lib.so
110 opt/googleearth/libmoduleframework.so
111 "
112
113 QA_DT_HASH="opt/${PN}/.*"
114
115 src_unpack() {
116 unpack_makeself
117 }
118
119 src_prepare() {
120 # make the postinst script only create the files; it's installation
121 # are too complicated and inserting them ourselves is easier than
122 # hacking around it
123 sed -i -e 's:$SETUP_INSTALLPATH/::' \
124 -e 's:$SETUP_INSTALLPATH:1:' \
125 -e "s:^xdg-desktop-icon.*$::" \
126 -e "s:^xdg-desktop-menu.*$::" \
127 -e "s:^xdg-mime.*$::" postinstall.sh
128 }
129
130 src_install() {
131 make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed"
132 ./postinstall.sh
133 insinto /usr/share/mime/packages
134 doins ${PN}-mimetypes.xml
135 domenu Google-${PN}.desktop
136 doicon ${PN}-icon.png
137 dodoc README.linux
138
139 cd bin
140 tar xf "${WORKDIR}"/${PN}-linux-x86.tar
141 exeinto /opt/${PN}
142 doexe *
143
144 cd "${D}"/opt/${PN}
145 tar xf "${WORKDIR}"/${PN}-data.tar
146
147 fowners -R root:root /opt/${PN}
148 fperms -R a-x,a+X /opt/googleearth/{xml,resources}
149 }
150
151 pkg_postinst() {
152 fdo-mime_desktop_database_update
153 fdo-mime_mime_database_update
154 }