openttd: Add XDG support (#89296)
This commit is contained in:
parent
59aacec664
commit
46fcaf3c8a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL2, libpng, zlib, xz, freetype, fontconfig
|
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL2, libpng, zlib, xz, freetype, fontconfig, libxdg_basedir
|
||||||
, withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true
|
, withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true
|
||||||
, withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps
|
, withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps
|
||||||
, writeScriptBin, makeWrapper, runtimeShell
|
, writeScriptBin, makeWrapper, runtimeShell
|
||||||
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||||
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig ]
|
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig libxdg_basedir ]
|
||||||
++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];
|
++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];
|
||||||
|
|
||||||
prefixKey = "--prefix-dir=";
|
prefixKey = "--prefix-dir=";
|
||||||
|
Loading…
Reference in New Issue
Block a user