git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15422 from rardiol/scorched3d

scorched3d update and SDL1.2 opengl fix

commitf67b8f8e64a0887d14be7e2e8e469c7c3c66800d authorNikolay Amiantov <ab@fmap.me> dateFri 13 May 2016, 02:00 (11 years ago) parent21747ef0643689
2 files changed+4−4
pkgs/development/libraries/SDL/default.nix+3−3 pkgs/games/scorched3d/default.nix+1−1
pkgs/development/libraries/SDL/default.nix+3−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, fetchpatch, pkgconfig, audiofile, libcap
2−, openglSupport ? false, mesa_noglu ? null
2+, openglSupport ? false, mesa ? null
33, alsaSupport ? true, alsaLib ? null
44, x11Support ? true, xlibsWrapper ? null, libXrandr ? null
55, pulseaudioSupport ? true, libpulseaudio ? null
@@ -10,7 +10,7 @@
1010# PulseAudio.
1111assert (stdenv.isLinux && !(stdenv ? cross)) -> alsaSupport || pulseaudioSupport;
1212
13−assert openglSupport -> (mesa_noglu != null && x11Support);
13+assert openglSupport -> (mesa != null && x11Support);
1414assert x11Support -> (xlibsWrapper != null && libXrandr != null);
1515assert alsaSupport -> alsaLib != null;
1616assert pulseaudioSupport -> libpulseaudio != null;
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 optionals x11Support [ xlibsWrapper libXrandr ] ++
3838 optional alsaSupport alsaLib ++
3939 optional stdenv.isLinux libcap ++
40− optional openglSupport mesa_noglu ++
40+ optional openglSupport mesa ++
4141 optional pulseaudioSupport libpulseaudio ++
4242 optional stdenv.isDarwin Cocoa;
4343
pkgs/games/scorched3d/default.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs =
1313 [ mesa glew openalSoft freealut wxGTK libogg freetype libvorbis
14− SDL SDL_net expat libjpeg libpng
14+ SDL SDL_net expat libjpeg libpng fftwSinglePrec
1515 ];
1616
1717 nativeBuildInputs = [ pkgconfig ];