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