Merge pull request #143898 from squalus/googleearth-20211013

authored by Sandro and committed by GitHub 8d445bc7 c4eb2858

+7 -47
+7 -47
pkgs/applications/misc/googleearth-pro/default.nix
··· 2 , stdenv 3 , mkDerivation 4 , fetchurl 5 - , ffmpeg_3 6 , freetype 7 - , gdal_2 8 , glib 9 , libGL 10 , libGLU 11 - , libICE 12 , libSM 13 - , libXi 14 - , libXv 15 - , libav_12 16 17 , libXrender 18 - , libXrandr 19 - , libXfixes 20 - , libXcursor 21 - , libXinerama 22 - , libXext 23 , libX11 24 - , libXcomposite 25 26 , libxcb 27 , sqlite ··· 34 , dbus 35 , makeWrapper 36 37 - , qtlocation 38 - , qtwebkit 39 - , qtx11extras 40 - , qtsensors 41 - , qtscript 42 43 , xkeyboardconfig 44 , autoPatchelfHook ··· 50 in 51 mkDerivation rec { 52 pname = "googleearth-pro"; 53 - version = "7.3.3.7786"; 54 55 src = fetchurl { 56 url = "https://dl.google.com/linux/earth/deb/pool/main/g/google-earth-pro-stable/google-earth-pro-stable_${version}-r0_${arch}.deb"; 57 - sha256 = "1s3cakwrgf702g33rh8qs657d8bl68wgg8k89rksgvswwpd2zbb3"; 58 }; 59 60 nativeBuildInputs = [ dpkg makeWrapper autoPatchelfHook ]; 61 propagatedBuildInputs = [ xkeyboardconfig ]; 62 buildInputs = [ 63 dbus 64 - ffmpeg_3 65 fontconfig 66 freetype 67 - gdal_2 68 glib 69 gst_all_1.gst-plugins-base 70 gst_all_1.gstreamer 71 libGL 72 libGLU 73 - libICE 74 libSM 75 libX11 76 - libXcomposite 77 - libXcursor 78 - libXext 79 - libXfixes 80 - libXi 81 - libXinerama 82 - libXrandr 83 libXrender 84 - libXv 85 - libav_12 86 libproxy 87 libxcb 88 libxml2 89 - qtlocation 90 - qtscript 91 - qtsensors 92 - qtwebkit 93 - qtx11extras 94 sqlite 95 zlib 96 ]; 97 98 doInstallCheck = true; ··· 131 runHook postInstall 132 ''; 133 134 - postInstall = '' 135 - find "$out/opt/google/earth/pro" -name "*.so.*" | \ 136 - egrep -v 'libssl*|libcrypto*|libicu*' | \ 137 - xargs rm 138 - find "$out/opt/google/earth/pro" -name "*.so" | \ 139 - egrep -v 'libgoogle*|libauth*|libbase*|libcommon*|libcommon_gui*|libcommon_platform*|libcommon_webbrowser*|libcomponentframework*|libgeobase*|libgeobaseutils*|libge_net*|libgdata*|libgoogleapi*|libmath*|libmoduleframework*|libmaps*|libport*|libprintmodule*|libprofile*|librender*|libreporting*|libsgutil*|libspatial*|libxsltransform*|libbase*|libport*|libport*|libbase*|libcomponentframework*|libIGCore*|libIGUtils*|libaction*|libapiloader*|libapiloader*|libIGCore*|libIGUtils*|libIGMath*|libfusioncommon*|libge_exif*|libaction*|libfusioncommon*|libapiloader*|liblayer*|libapiloader*|libIGAttrs*|libIGCore*|libIGGfx*|libIGMath*|libIGSg*|libIGUtils*|libwmsbase*|libwebbrowser*|libevllpro*|libalchemyext*|libge_cache*|libflightsim*|libnpgeinprocessplugin*|libmeasure*|libviewsync*|libcapture*|libtheme*|libgps*|libgisingest*|libsearchmodule*|libinput_plugin*|libnavigate*|libspnav*|libsearch*|libLeap*' | \ 140 - xargs rm 141 - ''; 142 - 143 - autoPatchelfIgnoreMissingDeps=true; 144 - 145 installCheckPhase = '' 146 $out/bin/gpsbabel -V > /dev/null 147 ''; ··· 159 license = licenses.unfree; 160 maintainers = with maintainers; [ friedelino shamilton ]; 161 platforms = platforms.linux; 162 }; 163 }
··· 2 , stdenv 3 , mkDerivation 4 , fetchurl 5 , freetype 6 , glib 7 , libGL 8 , libGLU 9 , libSM 10 11 , libXrender 12 , libX11 13 14 , libxcb 15 , sqlite ··· 22 , dbus 23 , makeWrapper 24 25 + , cups 26 + , alsa-lib 27 28 , xkeyboardconfig 29 , autoPatchelfHook ··· 35 in 36 mkDerivation rec { 37 pname = "googleearth-pro"; 38 + version = "7.3.4.8248"; 39 40 src = fetchurl { 41 url = "https://dl.google.com/linux/earth/deb/pool/main/g/google-earth-pro-stable/google-earth-pro-stable_${version}-r0_${arch}.deb"; 42 + sha256 = "1pbapi267snlrjari5k93y6kbrjsqhqxgkxxqaqv4r25az00dx6d"; 43 }; 44 45 nativeBuildInputs = [ dpkg makeWrapper autoPatchelfHook ]; 46 propagatedBuildInputs = [ xkeyboardconfig ]; 47 buildInputs = [ 48 dbus 49 + cups 50 fontconfig 51 freetype 52 glib 53 gst_all_1.gst-plugins-base 54 gst_all_1.gstreamer 55 libGL 56 libGLU 57 libSM 58 libX11 59 libXrender 60 libproxy 61 libxcb 62 libxml2 63 sqlite 64 zlib 65 + alsa-lib 66 ]; 67 68 doInstallCheck = true; ··· 101 runHook postInstall 102 ''; 103 104 installCheckPhase = '' 105 $out/bin/gpsbabel -V > /dev/null 106 ''; ··· 118 license = licenses.unfree; 119 maintainers = with maintainers; [ friedelino shamilton ]; 120 platforms = platforms.linux; 121 + knownVulnerabilities = [ "Includes vulnerable bundled libraries." ]; 122 }; 123 }