Merge pull request #79739 from mmahut/exodus
exodus: 19.5.24 -> 20.1.30
This commit is contained in:
commit
5301420990
@ -1,29 +1,30 @@
|
||||
{ stdenv, lib, fetchurl, unzip, glib, systemd, nss, nspr, gtk3-x11, gnome2,
|
||||
atk, cairo, gdk-pixbuf, xorg, xorg_sys_opengl, utillinux, alsaLib, dbus, at-spi2-atk,
|
||||
cups, vivaldi-ffmpeg-codecs, libpulseaudio }:
|
||||
cups, vivaldi-ffmpeg-codecs, libpulseaudio, at-spi2-core }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "exodus";
|
||||
version = "19.5.24";
|
||||
version = "20.1.30";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://exodusbin.azureedge.net/releases/${pname}-linux-x64-${version}.zip";
|
||||
sha256 = "1yx296i525qmpqh8f2vax7igffg826nr8cyq1l0if35374bdsqdw";
|
||||
url = "https://downloads.exodus.io/releases/${pname}-linux-x64-${version}.zip";
|
||||
sha256 = "0jns5zqjm0gqn18ypghbgk6gb713mh7p44ax1r8y4vcwijlp5nql";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
unpackCmd = ''
|
||||
${unzip}/bin/unzip "$src" -x "Exodus*/lib*so"
|
||||
${unzip}/bin/unzip "$src" -x "Exodus*/lib*so"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/applications
|
||||
cd Exodus-linux-x64
|
||||
cp -r . $out
|
||||
ln -s $out/Exodus $out/bin/Exodus
|
||||
ln -s $out/exodus.desktop $out/share/applications
|
||||
substituteInPlace $out/share/applications/exodus.desktop \
|
||||
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
|
||||
mkdir -p $out/bin $out/share/applications
|
||||
cd Exodus-linux-x64
|
||||
cp -r . $out
|
||||
ln -s $out/Exodus $out/bin/Exodus
|
||||
ln -s $out/bin/Exodus $out/bin/exodus
|
||||
ln -s $out/exodus.desktop $out/share/applications
|
||||
substituteInPlace $out/share/applications/exodus.desktop \
|
||||
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
|
||||
'';
|
||||
|
||||
dontPatchELF = true;
|
||||
@ -31,35 +32,36 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preFixup = let
|
||||
libPath = lib.makeLibraryPath [
|
||||
glib
|
||||
nss
|
||||
nspr
|
||||
gtk3-x11
|
||||
gnome2.pango
|
||||
atk
|
||||
cairo
|
||||
gdk-pixbuf
|
||||
xorg.libX11
|
||||
xorg.libxcb
|
||||
xorg.libXcomposite
|
||||
xorg.libXcursor
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXi
|
||||
xorg.libXrender
|
||||
xorg.libXtst
|
||||
xorg_sys_opengl
|
||||
utillinux
|
||||
xorg.libXrandr
|
||||
xorg.libXScrnSaver
|
||||
alsaLib
|
||||
dbus.lib
|
||||
at-spi2-atk
|
||||
cups.lib
|
||||
libpulseaudio
|
||||
systemd
|
||||
vivaldi-ffmpeg-codecs
|
||||
glib
|
||||
nss
|
||||
nspr
|
||||
gtk3-x11
|
||||
gnome2.pango
|
||||
atk
|
||||
cairo
|
||||
gdk-pixbuf
|
||||
xorg.libX11
|
||||
xorg.libxcb
|
||||
xorg.libXcomposite
|
||||
xorg.libXcursor
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXi
|
||||
xorg.libXrender
|
||||
xorg.libXtst
|
||||
xorg_sys_opengl
|
||||
utillinux
|
||||
xorg.libXrandr
|
||||
xorg.libXScrnSaver
|
||||
alsaLib
|
||||
dbus.lib
|
||||
at-spi2-atk
|
||||
at-spi2-core
|
||||
cups.lib
|
||||
libpulseaudio
|
||||
systemd
|
||||
vivaldi-ffmpeg-codecs
|
||||
];
|
||||
in ''
|
||||
patchelf \
|
||||
|
Loading…
Reference in New Issue
Block a user