mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
SDL: fix OpenGL support
This commit is contained in:
parent
4745341c69
commit
fc0b40328d
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, fetchpatch, pkgconfig, audiofile, libcap
|
||||
, openglSupport ? false, mesa_glu
|
||||
, openglSupport ? false, mesa_noglu, mesa_glu
|
||||
, alsaSupport ? true, alsaLib
|
||||
, x11Support ? true, libXext, libICE, libXrandr
|
||||
, pulseaudioSupport ? true, libpulseaudio
|
||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
optionals x11Support [ libXext libICE libXrandr ] ++
|
||||
optional alsaSupport alsaLib ++
|
||||
optional stdenv.isLinux libcap ++
|
||||
optional openglSupport mesa_glu ++
|
||||
optionals openglSupport [ mesa_noglu mesa_glu ] ++
|
||||
optional pulseaudioSupport libpulseaudio ++
|
||||
optional stdenv.isDarwin Cocoa;
|
||||
|
||||
|
|
Loading…
Reference in a new issue