openttd: 1.10.0 -> 1.10.1
1.10.0 added SDL support
This commit is contained in:
parent
1c951b1484
commit
3f633966e0
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL, libpng, zlib, xz, freetype, fontconfig
|
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL2, libpng, zlib, xz, freetype, fontconfig
|
||||||
, 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
|
||||||
@ -29,15 +29,15 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "openttd";
|
pname = "openttd";
|
||||||
version = "1.10.0";
|
version = "1.10.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
|
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
|
||||||
sha256 = "0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv";
|
sha256 = "0d22a3c50f7a321f4f211594f4987ac16c381e8e3e40f116848e63e91e7fbb9b";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||||
buildInputs = [ SDL libpng xz zlib freetype fontconfig ]
|
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig ]
|
||||||
++ 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