From 3f633966e0dcf1faa25301396d6e4115264461c9 Mon Sep 17 00:00:00 2001 From: "Maxine E. Aubrey" Date: Tue, 14 Apr 2020 21:07:00 +0200 Subject: [PATCH] openttd: 1.10.0 -> 1.10.1 1.10.0 added SDL support --- pkgs/games/openttd/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/openttd/default.nix b/pkgs/games/openttd/default.nix index b0f70775bfdd..2e115775d00e 100644 --- a/pkgs/games/openttd/default.nix +++ b/pkgs/games/openttd/default.nix @@ -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 , withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps , writeScriptBin, makeWrapper, runtimeShell @@ -29,15 +29,15 @@ let in stdenv.mkDerivation rec { pname = "openttd"; - version = "1.10.0"; + version = "1.10.1"; src = fetchurl { url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz"; - sha256 = "0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv"; + sha256 = "0d22a3c50f7a321f4f211594f4987ac16c381e8e3e40f116848e63e91e7fbb9b"; }; nativeBuildInputs = [ pkgconfig makeWrapper ]; - buildInputs = [ SDL libpng xz zlib freetype fontconfig ] + buildInputs = [ SDL2 libpng xz zlib freetype fontconfig ] ++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ]; prefixKey = "--prefix-dir=";