summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-geosciences/googleearth/ChangeLog281
-rw-r--r--sci-geosciences/googleearth/Manifest12
-rw-r--r--sci-geosciences/googleearth/files/decimal-separator.patch10
-rw-r--r--sci-geosciences/googleearth/files/mime-magic.patch12
-rw-r--r--sci-geosciences/googleearth/googleearth-4.2.205.5730.ebuild80
-rw-r--r--sci-geosciences/googleearth/googleearth-4.3.7284.3916.ebuild84
-rw-r--r--sci-geosciences/googleearth/googleearth-5.0.11733.9347.ebuild102
-rw-r--r--sci-geosciences/googleearth/googleearth-5.1.3533.1731-r1.ebuild131
-rw-r--r--sci-geosciences/googleearth/metadata.xml18
9 files changed, 730 insertions, 0 deletions
diff --git a/sci-geosciences/googleearth/ChangeLog b/sci-geosciences/googleearth/ChangeLog
new file mode 100644
index 000000000000..97eabc896aea
--- /dev/null
+++ b/sci-geosciences/googleearth/ChangeLog
@@ -0,0 +1,281 @@
+# ChangeLog for sci-geosciences/googleearth
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.1 2010/03/16 09:14:19 caster Exp $
+
+ 16 Mar 2010; Vlastimil Babka <caster@gentoo.org>
+ +googleearth-4.2.205.5730.ebuild, +googleearth-4.3.7284.3916.ebuild,
+ +googleearth-5.0.11733.9347.ebuild, +googleearth-5.1.3533.1731-r1.ebuild,
+ +files/decimal-separator.patch, +files/mime-magic.patch, +metadata.xml:
+ Package move from x11-misc/googleearth.
+
+ 19 Feb 2010; Vlastimil Babka <caster@gentoo.org>
+ -googleearth-5.1.3509.4636_beta.ebuild, -googleearth-5.1.3533.1731.ebuild,
+ googleearth-5.1.3533.1731-r1.ebuild:
+ Fix bug #303789 properly by depending on a fixed version of emul qtlibs.
+
+ 19 Feb 2010; Vlastimil Babka <caster@gentoo.org>
+ googleearth-5.1.3533.1731-r1.ebuild:
+ Add dependency on qt-core also for amd64 - workaround for bug #303789
+ until #305825 is solved.
+
+ 11 Feb 2010; Ulrich Mueller <ulm@gentoo.org>
+ googleearth-4.2.205.5730.ebuild, googleearth-4.3.7284.3916.ebuild,
+ googleearth-5.0.11733.9347.ebuild, googleearth-5.1.3509.4636_beta.ebuild,
+ googleearth-5.1.3533.1731.ebuild, googleearth-5.1.3533.1731-r1.ebuild:
+ Replace license X11 by MIT, bug 298556.
+
+ 31 Jan 2010; Vlastimil Babka <caster@gentoo.org>
+ googleearth-5.1.3533.1731-r1.ebuild, metadata.xml:
+ Add qt-bundled USE flag. If disabled (default), remove bundled Qt4
+ libraries and depend on system ones. Should fix font problems mentioned in
+ bugs #262780 and #252419. Unbundling libs tracked in #212373.
+
+ 22 Nov 2009; Vlastimil Babka <caster@gentoo.org>
+ googleearth-5.1.3533.1731-r1.ebuild:
+ Add dejavu font alternative as suggested in bug #262780.
+
+*googleearth-5.1.3533.1731-r1 (22 Nov 2009)
+
+ 22 Nov 2009; Vlastimil Babka <caster@gentoo.org>
+ +googleearth-5.1.3533.1731-r1.ebuild, +files/decimal-separator.patch:
+ Revbump with patch to prevent locales with comma decimal separator from
+ killing the saved places. Thanks to András <cucaracha@loco.hu> in bug
+ #262780.
+
+*googleearth-5.1.3533.1731 (18 Nov 2009)
+
+ 18 Nov 2009; Vlastimil Babka <caster@gentoo.org>
+ +googleearth-5.1.3533.1731.ebuild:
+ Version bump.
+
+ 07 Oct 2009; Vlastimil Babka <caster@gentoo.org>
+ googleearth-5.0.11733.9347.ebuild:
+ Found a stable (?) link for 5.0
+
+ 07 Oct 2009; Vlastimil Babka <caster@gentoo.org>
+ googleearth-5.1.3509.4636_beta.ebuild:
+ Depend on gcc-4.2+ and check that it's active in pkg_setup, ewarn
+ otherwise.
+
+*googleearth-5.1.3509.4636_beta (03 Oct 2009)
+
+ 03 Oct 2009; Vlastimil Babka <caster@gentoo.org>
+ -googleearth-5.1.3506.3999_beta.ebuild,
+ +googleearth-5.1.3509.4636_beta.ebuild:
+ Version bump, bug #287385.
+
+*googleearth-5.1.3506.3999_beta (11 Sep 2009)
+
+ 11 Sep 2009; Vlastimil Babka <caster@gentoo.org>
+ +googleearth-5.1.3506.3999_beta.ebuild:
+ Version bump. Fixes bug #284466 and uses QA_DT_HASH, bug #275140.
+
+ 22 Jun 2009; Vlastimil Babka <caster@gentoo.org>
+ googleearth-5.0.11733.9347.ebuild, metadata.xml:
+ Add missing deps, bug #274581. Move sed from unpack to src_prepare. Make
+ myself maintainer.
+
+ 26 May 2009; Jeroen Roovers <jer@gentoo.org>
+ -googleearth-5.0.11337.1968_beta.ebuild,
+ -googleearth-5.0.11729.1014.ebuild:
+ Remove versions with conflicting SRC_URIs.
+
+*googleearth-5.0.11733.9347 (26 May 2009)
+
+ 26 May 2009; Jeroen Roovers <jer@gentoo.org>
+ +googleearth-5.0.11733.9347.ebuild:
+ Version bump.
+
+*googleearth-5.0.11729.1014 (29 Apr 2009)
+
+ 29 Apr 2009; Vlastimil Babka <caster@gentoo.org>
+ +googleearth-5.0.11729.1014.ebuild:
+ Version bump, bug #267814. Use QA_TEXTRELS to suppres warnings, bug
+ #265171.
+
+*googleearth-5.0.11337.1968_beta (08 Feb 2009)
+
+ 08 Feb 2009; Vlastimil Babka <caster@gentoo.org>
+ +googleearth-5.0.11337.1968_beta.ebuild:
+ Version bump, bug #257533.
+
+ 06 Feb 2009; Vlastimil Babka <caster@gentoo.org>
+ googleearth-4.3.7284.3916.ebuild:
+ Update SRC_URI to the new upstream location, as the old link now points to
+ a 5.0 beta - bug #256267. Yay for upstream-versioned distfile, the SRC_URI
+ arrow is not needed anymore, but kept it so people don't download again.
+
+ 27 Sep 2008; Vlastimil Babka <caster@gentoo.org>
+ googleearth-4.3.7284.3916.ebuild:
+ Use EAPI=2 and SRC_URI arrow in 4.3 to put version in the distfile's
+ filename. So that all versions cane have own Manifest entry. Fixes bug
+ #236771.
+
+*googleearth-4.2.205.5730 (10 Aug 2008)
+
+ 10 Aug 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ +googleearth-4.2.205.5730.ebuild, googleearth-4.3.7284.3916.ebuild:
+ Introduce partially revisioned SRC_URI recommended by Daniel Wallace
+ in bug #221105, so now 4.2 ebuild can be available in parallel with 4.3
+
+ 09 Aug 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ googleearth-4.3.7284.3916.ebuild:
+ Add libXinerama dependency reported by Toralf Förster (bug #222489)
+
+*googleearth-4.3.7284.3916 (09 Aug 2008)
+
+ 09 Aug 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ -googleearth-4.2.205.5730.ebuild, +googleearth-4.3.7284.3916.ebuild:
+ Need another version bump since the old version has been overwritten
+ by a newer one again
+
+ 08 May 2008; Jeff Gardner <je_fro@gentoo.org> ChangeLog:
+ Digest for bug #219387a
+
+ 22 Dec 2007; Stefan Schweizer <genstef@gentoo.org>
+ -googleearth-4.2.198.2451.ebuild, +googleearth-4.2.205.5730.ebuild:
+ version bump thanks Toralf Förster <toralf.foerster@gmx.de> in bug 203027
+
+ 29 Nov 2007; <welp@gentoo.org> files/digest-googleearth-4.2.198.2451,
+ Manifest:
+ Fix digest
+
+*googleearth-4.2.198.2451 (13 Oct 2007)
+
+ 13 Oct 2007; Stefan Schweizer <genstef@gentoo.org> -googleearth-4.ebuild,
+ +googleearth-4.2.198.2451.ebuild:
+ Use full version number for betelgeuse in bug 191140
+
+*googleearth-4.ebuild (29 Aug 2007)
+
+ 29 Aug 2007; Stefan Schweizer <genstef@gentoo.org> googleearth-4.ebuild:
+ Version bump, only uri change and redigesting possible because upstream does
+ not change tarball names, bug 189827
+
+ 31 Jul 2007; Doug Goldstein <cardoe@gentoo.org> googleearth-4.ebuild:
+ nvidia-legacy-drivers has merged with nvidia-drivers
+
+ 17 Jul 2007; Stefan Schweizer <genstef@gentoo.org>
+ files/digest-googleearth-4, Manifest:
+ redigest
+
+ 23 May 2007; Stefan Schweizer <genstef@gentoo.org> googleearth-4.ebuild:
+ Bump md5 sum for the new version and fix sandbox violations with those. Much
+ thanks to Michael Lelli <baby.lueshi@gmail.com> in bug 177972 and bug 177984
+
+ 15 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
+ add <herd>no-herd</herd>
+
+ 14 Apr 2007; <welp@gentoo.org> googleearth-4.ebuild:
+ Stable on amd64 wrt bug 174605
+
+ 09 Mar 2007; Samuli Suominen <drac@gentoo.org> googleearth-4.ebuild:
+ Stop using virtual/x11.
+
+ 02 Mar 2007; Christian Faulhammer <opfer@gentoo.org> googleearth-4.ebuild:
+ stable x86; bug 168929
+
+ 10 Feb 2007; <genstef@gentoo.org> googleearth-4.ebuild:
+ remove .desktop redundancy thanks to jakub in bug 162775
+
+ 03 Feb 2007; Jason Wever <weeve@gentoo.org> files/digest-googleearth-4,
+ Manifest:
+ Another digest fix as the file appears to have changed upstream.
+
+ 18 Jan 2007; Raúl Porcel <armin76@gentoo.org> googleearth-4.ebuild:
+ Revert the ati/nvidia changes, as SRC_URI doesn't work. Request by jakub,
+ blame him
+
+*googleearth-4 (12 Jan 2007)
+
+ 12 Jan 2007; Charlie Shepherd <masterdriverz@gentoo.org>
+ -googleearth-4_beta.ebuild, +googleearth-4.ebuild:
+ Bump to googleearth-4; fixes bug 160849
+
+ 08 Jan 2007; <genstef@gentoo.org> googleearth-4_beta.ebuild:
+ Fix troubles with newer ati drivers thanks to anarchy in bug 158701
+
+ 27 Dec 2006; Daniel Black <dragonheart@gentoo.org>
+ files/digest-googleearth-4_beta, Manifest:
+ digest fix bug #158606 and SnowRaptor notification on #gentoo-dev-help
+
+ 02 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+ files/digest-googleearth-4_beta, Manifest:
+ New digest 4.0.2091 -> 4.0.2413 - this is annoying, google should provide
+ versioned downloads
+
+ 05 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ googleearth-4_beta.ebuild:
+ Removing references to media-video/nvidia-glx since it is no longer in the
+ tree.
+
+ 15 Sep 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog:
+ digest fix
+
+ 14 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
+ googleearth-4_beta.ebuild:
+ depend on <x11-drivers/ati-drivers-8.28.8 for amd64 because it breaks on
+ runtime, thanks to Thomas Skyt <thomas@sofagang.dk> and Ulf
+ <fly-a-lot@web.de> in bug 147309
+
+ 30 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
+ googleearth-4_beta.ebuild:
+ Workaround xdg-utils problems thanks to Rick Harris
+ <rickfharris@yahoo.com.au>, Lukas Barth <tinloaf@goerresonline.de> and Olaf
+ Freyer <aaron@cs.tu-berlin.de> in bug 144670
+
+ 08 Aug 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog:
+ redigest, bug 142920
+
+ 24 Jul 2006; Stefan Schweizer <genstef@gentoo.org> files/mime-magic.patch:
+ improved patch to work with kml 2.1 thanks to Ed Catmur again
+
+ 23 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/mime-magic.patch, googleearth-4_beta.ebuild:
+ Add some magic to the googleearth mime file to improve handling in gnome,
+ thanks to Ed Catmur <ed@catmur.co.uk> in bug 141371
+
+ 19 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
+ googleearth-4_beta.ebuild:
+ No more execstack, thanks to Sascha Geschwandtner <s.geschwandtner@gmx.de>
+ in bug 141003
+
+ 18 Jul 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog:
+ redigest, bug 139544
+
+ 16 Jul 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog:
+ redigest, bug 139544
+
+ 08 Jul 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog:
+ redigest thanks to Marcel Campello Ferreira <marcel.o.bacharel@gmail.com>,
+ Rabbe Fogelholm <rabbe@gentoo.se>, Jakub Moc <jakub@gentoo.org> and Mike
+ <BluexSteel@gmail.com> in bug 139544
+
+ 07 Jul 2006; Kristopher Kersey <augustus@gentoo.org>
+ googleearth-4_beta.ebuild:
+ Added RDEPEND for new x11-drivers/nvidia-drivers or
+ x11-drivers/nvidia-legacy-drivers.
+
+ 22 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+ googleearth-4_beta.ebuild:
+ correct permissions thanks to mrsteven <mrsteven@gmx.de> in bug 137524
+
+ 13 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+ googleearth-4_beta.ebuild:
+ unset environment variable that could break the installation, thanks to zzam
+ in #gentoo-bugs
+
+ 13 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+ googleearth-4_beta.ebuild:
+ Ignore QA checks and RESTRICT=strip, thanks to Jon Hood
+ <squinky86@gentoo.org> and Jakub Moc <jakub@gentoo.org> in bug 136610 and
+ use google scripts for the .desktop files, no revbump
+
+ 13 Jun 2006; Olivier Crête <tester@gentoo.org> googleearth-4_beta.ebuild:
+ Added ~amd64 keyword and deps, fixed digest
+
+ 13 Jun 2006; Stefan Schweizer <genstef@gentoo.org> ChangeLog:
+ New Google Earth ebuild for bug 136584, thanks to Natanael Copa
+ <natanael.copa@gmail.com> for opening the bug and Tristan Heaven
+ <tristanheaven@gmail.com> for the ebuild.
+
diff --git a/sci-geosciences/googleearth/Manifest b/sci-geosciences/googleearth/Manifest
new file mode 100644
index 000000000000..c2050b4297c3
--- /dev/null
+++ b/sci-geosciences/googleearth/Manifest
@@ -0,0 +1,12 @@
+AUX decimal-separator.patch 310 RMD160 730861674fc8f07aa13ad5577840fcce34a3f9d2 SHA1 85552fc1988791f44c22ca355839d0f358076437 SHA256 0a5bf3024562484ff95ae369c956ee126d6ae59f201e65ef8e72695bda0946a0
+AUX mime-magic.patch 572 RMD160 e49ddaf43ca7de3cfabf08754f4f4d21864a3489 SHA1 e6689a0f970cfc677749e1ee3aeeaa3b8f5605fc SHA256 302bfab0aa2edd09a2a83f7040de4dcc09998e822555b85242e2e8cb05fb3a12
+DIST GoogleEarthLinux-4.3.7284.3916.bin 20554977 RMD160 de8f92a45b72d37ba66bc33dd20b2bd59df79fad SHA1 35b883f75ca0da4cc4b5888d345ed5ec2a53123e SHA256 aeb71c8e191df4b3689ef45e6b2346b4b7c3910738f92deadb265a044e68277e
+DIST GoogleEarthLinux-5.0.11733.9347.bin 25606194 RMD160 ba61c88c38eefad655cf0de4b17f033640783a2c SHA1 4aa2b565523dc6ee9592a0f96760297fc06f762c SHA256 fde44633607cb762810e14e8fe7c9755a1c9b04c10fbb712c2ab899274716b9a
+DIST GoogleEarthLinux-5.1.3533.1731.bin 25989559 RMD160 4ec6fc65e9822dee7bdea0b1a0966dbd4b7b6b96 SHA1 e64f2840bf7161b9860c4d99e9de0c27f960e131 SHA256 6f477f1acac653ae218df0df998ef5c658bf08c8c554be1a92027eb1b80dbaeb
+DIST GoogleEarthLinux.bin 23048189 RMD160 bf8994f6aa9f4204510023ac629c331789e3969b SHA1 25b4b546625423b2e570ff8aae5ee7eff49a1b97 SHA256 da7d22cb13cc5f047dea6ae241bb33c5ac1789a9f601e09dcb025fe574df4516
+EBUILD googleearth-4.2.205.5730.ebuild 2075 RMD160 c772f39c44f6b537df6cc2b76dc1004b58b6c70f SHA1 28af1fb18b08e1d616f9535118ee9e3860be251e SHA256 c131f397966d263e3497ab0b7c9c2eba2a8a8afe6b64b5a15f8b37077d479cd9
+EBUILD googleearth-4.3.7284.3916.ebuild 2161 RMD160 be432c5fa9983391de3aebdf3d5a877cb4ba04b0 SHA1 1f7d66ccd4eba7033635c1122d3225e19f111512 SHA256 3bcc6641a5bb424318ca309e310b15ecb0c5802d6dc69131f4f1ffc55a8cf796
+EBUILD googleearth-5.0.11733.9347.ebuild 2544 RMD160 437de456920c832ece3cc05c76dd464849799c33 SHA1 9deac14acb80fdb1f37571d7366eeaa3903e6c78 SHA256 e07b28f8d52eb799cbfaec366b906c939f09475c281b0389a6d758ac0a606125
+EBUILD googleearth-5.1.3533.1731-r1.ebuild 3367 RMD160 b32b22622c8e4f44183698a21dfefe674f35001f SHA1 9f8a556b5198196f640ae9416c4740d38cccbe2f SHA256 9d1a1de683ba8e80711c93d200b13238ffd3986a218dcbf8c6f378a4cbc3a691
+MISC ChangeLog 10942 RMD160 bc00039d852ed21b4b2d4cf0615be4b1da37a0b7 SHA1 ddf476697c672f678e74b72a00e4be974a7c7c41 SHA256 832f9498020ce45450c59dd334f9e34fa69612d7bf5a6f2429445d55ef5927ec
+MISC metadata.xml 626 RMD160 a86edde5c7fb06ad02761f159bc05239b2507521 SHA1 8bc7bd3f1767aea50d396a696a83ddbc660f3fbd SHA256 cbe80f8dd2f6cf2dc88c03bc2765a171f705502c6f1513cdd41b285aac87660c
diff --git a/sci-geosciences/googleearth/files/decimal-separator.patch b/sci-geosciences/googleearth/files/decimal-separator.patch
new file mode 100644
index 000000000000..7a75dde4914a
--- /dev/null
+++ b/sci-geosciences/googleearth/files/decimal-separator.patch
@@ -0,0 +1,10 @@
+--- googleearth.orig 2009-10-18 15:46:03.000000000 +0200
++++ googleearth 2009-10-18 15:45:39.000000000 +0200
+@@ -41,6 +41,7 @@
+
+ LD_LIBRARY_PATH=.:${GOOGLEEARTH_DATA_PATH}:${LD_LIBRARY_PATH}
+ export LD_LIBRARY_PATH
++export LC_NUMERIC=C
+
+ # Let's boogie!
+ if [ -x "${GOOGLEEARTH_DATA_PATH}/googleearth-bin" ]
diff --git a/sci-geosciences/googleearth/files/mime-magic.patch b/sci-geosciences/googleearth/files/mime-magic.patch
new file mode 100644
index 000000000000..cbaa337c6e57
--- /dev/null
+++ b/sci-geosciences/googleearth/files/mime-magic.patch
@@ -0,0 +1,12 @@
+--- usr/share/mime/packages/googleearth-mimetypes.xml 2006-07-22 10:13:03.000000000 +0100
++++ usr/share/mime/packages/googleearth-mimetypes.xml 2006-07-22 10:41:14.584945382 +0100
+@@ -2,6 +2,9 @@
+ <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/vnd.google-earth.kml+xml">
+ <comment>Keyhole Markup Language data</comment>
++ <magic priority="60">
++ <match value="&lt;kml xmlns=&quot;http://earth.google.com/kml/" type="string" offset="0:64"/>
++ </magic>
+ <glob pattern="*.kml"/>
+ </mime-type>
+
diff --git a/sci-geosciences/googleearth/googleearth-4.2.205.5730.ebuild b/sci-geosciences/googleearth/googleearth-4.2.205.5730.ebuild
new file mode 100644
index 000000000000..500bbca4248b
--- /dev/null
+++ b/sci-geosciences/googleearth/googleearth-4.2.205.5730.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-4.2.205.5730.ebuild,v 1.1 2010/03/16 09:14:19 caster Exp $
+
+inherit eutils fdo-mime
+
+DESCRIPTION="A 3D interface to the planet"
+HOMEPAGE="http://earth.google.com/"
+SRC_URI="http://dl.google.com/earth/client/GE4/release_4_2/GoogleEarthLinux.bin"
+
+LICENSE="googleearth MIT SGI-B-1.1 openssl as-is ZLIB"
+SLOT="0"
+KEYWORDS="amd64 x86"
+RESTRICT="mirror strip"
+IUSE=""
+
+RDEPEND="x86? (
+ media-libs/fontconfig
+ media-libs/freetype
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXrender )
+ amd64? (
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-baselibs
+ || (
+ >=app-emulation/emul-linux-x86-xlibs-7.0
+ x11-drivers/nvidia-drivers
+ <x11-drivers/ati-drivers-8.28.8 ) )
+ media-fonts/ttf-bitstream-vera"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack_makeself
+ # make the postinst script only create the files; it's installation
+ # are too complicated and inserting them ourselves is easier than
+ # hacking around it
+ sed -i -e 's:$SETUP_INSTALLPATH/::' \
+ -e 's:$SETUP_INSTALLPATH:1:' \
+ -e "s:^xdg-desktop-icon.*$::" \
+ -e "s:^xdg-desktop-menu.*$::" \
+ -e "s:^xdg-mime.*$::" postinstall.sh
+}
+
+src_install() {
+ make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed"
+ ./postinstall.sh
+ insinto /usr/share/mime/packages
+ doins ${PN}-mimetypes.xml
+ domenu Google-${PN}.desktop
+ doicon ${PN}-icon.png
+ dodoc README.linux
+
+ cd bin
+ tar xf "${WORKDIR}"/${PN}-linux-x86.tar
+ exeinto /opt/${PN}
+ doexe *
+
+ cd "${D}"/opt/${PN}
+ tar xf "${WORKDIR}"/${PN}-data.tar
+
+ cd "${D}"
+ # mime magic for gnome by Ed Catmur in bug 141371
+ epatch "${FILESDIR}"/mime-magic.patch
+
+ # make sure we install with correct permissions
+ fowners -R root:root /opt/${PN}
+ fperms -R a-x,a+X /opt/googleearth/{xml,res{,ources}}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/sci-geosciences/googleearth/googleearth-4.3.7284.3916.ebuild b/sci-geosciences/googleearth/googleearth-4.3.7284.3916.ebuild
new file mode 100644
index 000000000000..7b6e076269b7
--- /dev/null
+++ b/sci-geosciences/googleearth/googleearth-4.3.7284.3916.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-4.3.7284.3916.ebuild,v 1.1 2010/03/16 09:14:19 caster Exp $
+
+EAPI=2
+
+inherit eutils fdo-mime
+
+DESCRIPTION="A 3D interface to the planet"
+HOMEPAGE="http://earth.google.com/"
+SRC_URI="http://dl.google.com/earth/client/ge4/release_4_3/googleearth-linux-plus-4.3.7284.3916.bin
+ -> GoogleEarthLinux-${PV}.bin"
+
+LICENSE="googleearth MIT SGI-B-1.1 openssl as-is ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror strip"
+IUSE=""
+
+RDEPEND="x86? (
+ media-libs/fontconfig
+ media-libs/freetype
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXrender )
+ amd64? (
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-baselibs
+ || (
+ >=app-emulation/emul-linux-x86-xlibs-7.0
+ x11-drivers/nvidia-drivers
+ <x11-drivers/ati-drivers-8.28.8 ) )
+ media-fonts/ttf-bitstream-vera"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack_makeself
+ # make the postinst script only create the files; it's installation
+ # are too complicated and inserting them ourselves is easier than
+ # hacking around it
+ sed -i -e 's:$SETUP_INSTALLPATH/::' \
+ -e 's:$SETUP_INSTALLPATH:1:' \
+ -e "s:^xdg-desktop-icon.*$::" \
+ -e "s:^xdg-desktop-menu.*$::" \
+ -e "s:^xdg-mime.*$::" postinstall.sh
+}
+
+src_install() {
+ make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed"
+ ./postinstall.sh
+ insinto /usr/share/mime/packages
+ doins ${PN}-mimetypes.xml
+ domenu Google-${PN}.desktop
+ doicon ${PN}-icon.png
+ dodoc README.linux
+
+ cd bin
+ tar xf "${WORKDIR}"/${PN}-linux-x86.tar
+ exeinto /opt/${PN}
+ doexe *
+
+ cd "${D}"/opt/${PN}
+ tar xf "${WORKDIR}"/${PN}-data.tar
+
+ cd "${D}"
+ # mime magic for gnome by Ed Catmur in bug 141371
+ epatch "${FILESDIR}"/mime-magic.patch
+
+ # make sure we install with correct permissions
+ fowners -R root:root /opt/${PN}
+ fperms -R a-x,a+X /opt/googleearth/{xml,res{,ources}}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/sci-geosciences/googleearth/googleearth-5.0.11733.9347.ebuild b/sci-geosciences/googleearth/googleearth-5.0.11733.9347.ebuild
new file mode 100644
index 000000000000..45ef6420d7ec
--- /dev/null
+++ b/sci-geosciences/googleearth/googleearth-5.0.11733.9347.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-5.0.11733.9347.ebuild,v 1.1 2010/03/16 09:14:19 caster Exp $
+
+EAPI=2
+
+inherit eutils fdo-mime
+
+DESCRIPTION="A 3D interface to the planet"
+HOMEPAGE="http://earth.google.com/"
+# no upstream versioning, version determined from help/about
+# incorrect digest means upstream bumped and thus needs version bump
+SRC_URI="http://dl.google.com/earth/client/advanced/previous/GoogleEarthLinux.bin
+ -> GoogleEarthLinux-${PV}.bin"
+
+LICENSE="googleearth MIT SGI-B-1.1 openssl as-is ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror strip"
+IUSE=""
+
+RDEPEND="
+ x86? (
+ media-libs/fontconfig
+ media-libs/freetype
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ sys-libs/zlib
+ dev-libs/glib:2
+ )
+ amd64? (
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-baselibs
+ || (
+ >=app-emulation/emul-linux-x86-xlibs-7.0
+ x11-drivers/nvidia-drivers
+ <x11-drivers/ati-drivers-8.28.8
+ )
+ )
+ media-fonts/ttf-bitstream-vera"
+
+S="${WORKDIR}"
+
+QA_TEXTRELS="opt/googleearth/libgps.so
+opt/googleearth/libgooglesearch.so
+opt/googleearth/libevll.so
+opt/googleearth/librender.so
+opt/googleearth/libinput_plugin.so
+opt/googleearth/libflightsim.so
+opt/googleearth/libcollada.so
+opt/googleearth/libminizip.so
+opt/googleearth/libauth.so
+opt/googleearth/libbasicingest.so
+opt/googleearth/libmeasure.so"
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_prepare() {
+ # make the postinst script only create the files; it's installation
+ # are too complicated and inserting them ourselves is easier than
+ # hacking around it
+ sed -i -e 's:$SETUP_INSTALLPATH/::' \
+ -e 's:$SETUP_INSTALLPATH:1:' \
+ -e "s:^xdg-desktop-icon.*$::" \
+ -e "s:^xdg-desktop-menu.*$::" \
+ -e "s:^xdg-mime.*$::" postinstall.sh
+}
+
+src_install() {
+ make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed"
+ ./postinstall.sh
+ insinto /usr/share/mime/packages
+ doins ${PN}-mimetypes.xml
+ domenu Google-${PN}.desktop
+ doicon ${PN}-icon.png
+ dodoc README.linux
+
+ cd bin
+ tar xf "${WORKDIR}"/${PN}-linux-x86.tar
+ exeinto /opt/${PN}
+ doexe *
+
+ cd "${D}"/opt/${PN}
+ tar xf "${WORKDIR}"/${PN}-data.tar
+
+ fowners -R root:root /opt/${PN}
+ fperms -R a-x,a+X /opt/googleearth/{xml,resources}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/sci-geosciences/googleearth/googleearth-5.1.3533.1731-r1.ebuild b/sci-geosciences/googleearth/googleearth-5.1.3533.1731-r1.ebuild
new file mode 100644
index 000000000000..cd186815dc08
--- /dev/null
+++ b/sci-geosciences/googleearth/googleearth-5.1.3533.1731-r1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-5.1.3533.1731-r1.ebuild,v 1.1 2010/03/16 09:14:19 caster Exp $
+
+EAPI=2
+
+inherit eutils fdo-mime versionator toolchain-funcs
+
+DESCRIPTION="A 3D interface to the planet"
+HOMEPAGE="http://earth.google.com/"
+# no upstream versioning, version determined from help/about
+# incorrect digest means upstream bumped and thus needs version bump
+SRC_URI="http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
+ -> GoogleEarthLinux-${PV}.bin"
+
+LICENSE="googleearth MIT SGI-B-1.1 openssl as-is ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror strip"
+IUSE="qt-bundled"
+
+GCC_NEEDED="4.2"
+
+RDEPEND=">=sys-devel/gcc-${GCC_NEEDED}[-nocxx]
+ x86? (
+ media-libs/fontconfig
+ media-libs/freetype
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ sys-libs/zlib
+ dev-libs/glib:2
+ !qt-bundled? (
+ >=x11-libs/qt-core-4.5.3
+ >=x11-libs/qt-gui-4.5.3
+ >=x11-libs/qt-webkit-4.5.3
+ )
+ )
+ amd64? (
+ >=app-emulation/emul-linux-x86-xlibs-20081109
+ >=app-emulation/emul-linux-x86-baselibs-20081109
+ !qt-bundled? (
+ >=app-emulation/emul-linux-x86-qtlibs-20091231-r1
+ )
+ )
+ || (
+ media-fonts/dejavu
+ media-fonts/ttf-bitstream-vera
+ )"
+
+S="${WORKDIR}"
+
+QA_TEXTRELS="opt/googleearth/libgps.so
+opt/googleearth/libgooglesearch.so
+opt/googleearth/libevll.so
+opt/googleearth/librender.so
+opt/googleearth/libinput_plugin.so
+opt/googleearth/libflightsim.so
+opt/googleearth/libcollada.so
+opt/googleearth/libminizip.so
+opt/googleearth/libauth.so
+opt/googleearth/libbasicingest.so
+opt/googleearth/libmeasure.so
+opt/googleearth/libgoogleearth_lib.so
+opt/googleearth/libmoduleframework.so
+"
+
+QA_DT_HASH="opt/${PN}/.*"
+
+pkg_setup() {
+ GCC_VER="$(gcc-version)"
+ if ! version_is_at_least ${GCC_NEEDED} ${GCC_VER}; then
+ ewarn "${PN} needs libraries from gcc-${GCC_NEEDED} or higher to run"
+ ewarn "Your active gcc version is only ${GCC_VER}"
+ ewarn "Please consult the GCC upgrade guide to set a higher version:"
+ ewarn "http://www.gentoo.org/doc/en/gcc-upgrading.xml"
+ fi
+}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_prepare() {
+ # make the postinst script only create the files; it's installation
+ # are too complicated and inserting them ourselves is easier than
+ # hacking around it
+ sed -i -e 's:$SETUP_INSTALLPATH/::' \
+ -e 's:$SETUP_INSTALLPATH:1:' \
+ -e "s:^xdg-desktop-icon.*$::" \
+ -e "s:^xdg-desktop-menu.*$::" \
+ -e "s:^xdg-mime.*$::" postinstall.sh
+}
+
+src_install() {
+ make_wrapper ${PN} ./${PN} /opt/${PN} . || die "make_wrapper failed"
+ ./postinstall.sh
+ insinto /usr/share/mime/packages
+ doins ${PN}-mimetypes.xml
+ domenu Google-${PN}.desktop
+ doicon ${PN}-icon.png
+ dodoc README.linux
+
+ cd bin
+ tar xf "${WORKDIR}"/${PN}-linux-x86.tar
+ # bug #262780
+ epatch "${FILESDIR}/decimal-separator.patch"
+ exeinto /opt/${PN}
+ doexe *
+
+ cd "${D}"/opt/${PN}
+ tar xf "${WORKDIR}"/${PN}-data.tar
+
+ if ! use qt-bundled; then
+ rm -rvf libQt{Core,Gui,Network,WebKit}.so.4 plugins/imageformats qt.conf || die
+ fi
+
+ fowners -R root:root /opt/${PN}
+ fperms -R a-x,a+X /opt/googleearth/resources
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/sci-geosciences/googleearth/metadata.xml b/sci-geosciences/googleearth/metadata.xml
new file mode 100644
index 000000000000..0586678fa6e5
--- /dev/null
+++ b/sci-geosciences/googleearth/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+ <maintainer>
+ <email>caster@gentoo.org</email>
+ <name>Vlastimil Babka</name>
+ <description>Assign bugs to me for now</description>
+ </maintainer>
+ <maintainer>
+ <email>genstef@gentoo.org</email>
+ <name>Stefan Schweizer</name>
+ <description>Feel free to change what you want</description>
+ </maintainer>
+ <use>
+ <flag name="qt-bundled">Use bundled Qt4 libraries instead of system ones. Recommended only for troubleshooting.</flag>
+ </use>
+</pkgmetadata>