summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-12-29 10:41:51 +0100
committerMartin Väth <martin@mvath.de>2017-12-29 12:08:17 +0100
commit86acf45d180080c3244e56719cad915f9ea11bf3 (patch)
treed3afd7b9860f5622331374c22ed1f4eb2db87789 /sci-geosciences/googleearth/files
parentapp-portage/eix: Version bump. LINGUAS -> L10N (diff)
downloadmv-86acf45d180080c3244e56719cad915f9ea11bf3.tar.gz
mv-86acf45d180080c3244e56719cad915f9ea11bf3.tar.bz2
mv-86acf45d180080c3244e56719cad915f9ea11bf3.zip
sci-geosciences/googleearth: New ebuild, partially based on bug 642334
Diffstat (limited to 'sci-geosciences/googleearth/files')
-rw-r--r--sci-geosciences/googleearth/files/googleearth-7-pro-desktopfile.patch17
-rw-r--r--sci-geosciences/googleearth/files/googleearth-mimetypes.xml21
2 files changed, 38 insertions, 0 deletions
diff --git a/sci-geosciences/googleearth/files/googleearth-7-pro-desktopfile.patch b/sci-geosciences/googleearth/files/googleearth-7-pro-desktopfile.patch
new file mode 100644
index 00000000..e5de8c31
--- /dev/null
+++ b/sci-geosciences/googleearth/files/googleearth-7-pro-desktopfile.patch
@@ -0,0 +1,17 @@
+--- google-earth-pro.desktop
++++ google-earth-pro.desktop
+@@ -3,10 +3,10 @@
+ Name=Google Earth
+ GenericName=3D planet viewer
+ Comment=Explore, search and discover the planet
+-Exec=/opt/google/earth/pro/google-earth-pro %f
++Exec=/opt/googleearth/googleearth %f
+ Terminal=false
+-MultipleArgs=false
++X-MultipleArgs=false
+ Icon=google-earth-pro
+ Type=Application
+-Categories=Application;Network
+-MimeType=application/vnd.google-earth.kml+xml;application/vnd.google-earth.kmz;application/earthviewer;application/keyhole
++Categories=Network;
++MimeType=application/vnd.google-earth.kml+xml;application/vnd.google-earth.kmz;application/earthviewer;application/keyhole;
diff --git a/sci-geosciences/googleearth/files/googleearth-mimetypes.xml b/sci-geosciences/googleearth/files/googleearth-mimetypes.xml
new file mode 100644
index 00000000..3ecfa97c
--- /dev/null
+++ b/sci-geosciences/googleearth/files/googleearth-mimetypes.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<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>
+ <glob pattern="*.kml"/>
+ </mime-type>
+
+ <mime-type type="application/vnd.google-earth.kmz">
+ <comment>Keyhole Markup Language archive</comment>
+ <glob pattern="*.kmz"/>
+ </mime-type>
+
+ <mime-type type="application/keyhole">
+ <comment>Keyhole Markup Language data</comment>
+ </mime-type>
+
+ <mime-type type="application/earthviewer">
+ <comment>Keyhole Markup Language data</comment>
+ </mime-type>
+</mime-info>
+