mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
googleearth: do not use legacy gst
This commit is contained in:
parent
4c82b0ce33
commit
9fb67a2592
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, glibc, libGLU, libGL, freetype, glib, libSM, libICE, libXi, libXv
|
||||
, libXrender, libXrandr, libXfixes, libXcursor, libXinerama, libXext, libX11
|
||||
, zlib, fontconfig, dpkg, libproxy, libxml2, gstreamer, gst_all_1, dbus }:
|
||||
, zlib, fontconfig, dpkg, libproxy, libxml2, gst_all_1, dbus }:
|
||||
|
||||
let
|
||||
arch =
|
||||
@ -33,7 +33,6 @@ let
|
||||
fontconfig
|
||||
libproxy
|
||||
libxml2
|
||||
gstreamer
|
||||
dbus
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
@ -80,7 +79,7 @@ stdenv.mkDerivation rec {
|
||||
for a in $out/opt/google/earth/free/*.so* ; do
|
||||
patchelf --set-rpath "${fullPath}:\$ORIGIN" $a
|
||||
done
|
||||
|
||||
|
||||
# Add desktop config file and icons
|
||||
mkdir -p $out/share/{applications,icons/hicolor/{16x16,22x22,24x24,32x32,48x48,64x64,128x128,256x256}/apps,pixmaps}
|
||||
ln -s $out/opt/google/earth/free/google-earth.desktop $out/share/applications/google-earth.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user