mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
SDL: Revert "SDL: use mesa_noglu instead of mesa"
This reverts commit a9a94df4e6
.
This commit is contained in:
parent
8ce8226655
commit
79914075f4
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, fetchpatch, pkgconfig, audiofile, libcap
|
||||
, openglSupport ? false, mesa_noglu ? null
|
||||
, openglSupport ? false, mesa ? null
|
||||
, alsaSupport ? true, alsaLib ? null
|
||||
, x11Support ? true, xlibsWrapper ? null, libXrandr ? null
|
||||
, pulseaudioSupport ? true, libpulseaudio ? null
|
||||
|
@ -10,7 +10,7 @@
|
|||
# PulseAudio.
|
||||
assert (stdenv.isLinux && !(stdenv ? cross)) -> alsaSupport || pulseaudioSupport;
|
||||
|
||||
assert openglSupport -> (mesa_noglu != null && x11Support);
|
||||
assert openglSupport -> (mesa != null && x11Support);
|
||||
assert x11Support -> (xlibsWrapper != null && libXrandr != null);
|
||||
assert alsaSupport -> alsaLib != null;
|
||||
assert pulseaudioSupport -> libpulseaudio != null;
|
||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
optionals x11Support [ xlibsWrapper libXrandr ] ++
|
||||
optional alsaSupport alsaLib ++
|
||||
optional stdenv.isLinux libcap ++
|
||||
optional openglSupport mesa_noglu ++
|
||||
optional openglSupport mesa ++
|
||||
optional pulseaudioSupport libpulseaudio ++
|
||||
optional stdenv.isDarwin Cocoa;
|
||||
|
||||
|
|
Loading…
Reference in a new issue