exodus: reformating
This commit is contained in:
parent
60fadaa793
commit
d6474081d0
@ -13,17 +13,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
unpackCmd = ''
|
unpackCmd = ''
|
||||||
${unzip}/bin/unzip "$src" -x "Exodus*/lib*so"
|
${unzip}/bin/unzip "$src" -x "Exodus*/lib*so"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/applications
|
mkdir -p $out/bin $out/share/applications
|
||||||
cd Exodus-linux-x64
|
cd Exodus-linux-x64
|
||||||
cp -r . $out
|
cp -r . $out
|
||||||
ln -s $out/Exodus $out/bin/Exodus
|
ln -s $out/Exodus $out/bin/Exodus
|
||||||
ln -s $out/exodus.desktop $out/share/applications
|
ln -s $out/exodus.desktop $out/share/applications
|
||||||
substituteInPlace $out/share/applications/exodus.desktop \
|
substituteInPlace $out/share/applications/exodus.desktop \
|
||||||
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
|
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
@ -31,35 +31,35 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preFixup = let
|
preFixup = let
|
||||||
libPath = lib.makeLibraryPath [
|
libPath = lib.makeLibraryPath [
|
||||||
glib
|
glib
|
||||||
nss
|
nss
|
||||||
nspr
|
nspr
|
||||||
gtk3-x11
|
gtk3-x11
|
||||||
gnome2.pango
|
gnome2.pango
|
||||||
atk
|
atk
|
||||||
cairo
|
cairo
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
xorg.libxcb
|
xorg.libxcb
|
||||||
xorg.libXcomposite
|
xorg.libXcomposite
|
||||||
xorg.libXcursor
|
xorg.libXcursor
|
||||||
xorg.libXdamage
|
xorg.libXdamage
|
||||||
xorg.libXext
|
xorg.libXext
|
||||||
xorg.libXfixes
|
xorg.libXfixes
|
||||||
xorg.libXi
|
xorg.libXi
|
||||||
xorg.libXrender
|
xorg.libXrender
|
||||||
xorg.libXtst
|
xorg.libXtst
|
||||||
xorg_sys_opengl
|
xorg_sys_opengl
|
||||||
utillinux
|
utillinux
|
||||||
xorg.libXrandr
|
xorg.libXrandr
|
||||||
xorg.libXScrnSaver
|
xorg.libXScrnSaver
|
||||||
alsaLib
|
alsaLib
|
||||||
dbus.lib
|
dbus.lib
|
||||||
at-spi2-atk
|
at-spi2-atk
|
||||||
cups.lib
|
cups.lib
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
systemd
|
systemd
|
||||||
vivaldi-ffmpeg-codecs
|
vivaldi-ffmpeg-codecs
|
||||||
];
|
];
|
||||||
in ''
|
in ''
|
||||||
patchelf \
|
patchelf \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user