SDL2_mixer: add opusfile dependency for opus support (#68767)
This commit is contained in:
parent
9e0c8f0cbe
commit
441a181498
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig, which
|
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig, which
|
||||||
, SDL2, libogg, libvorbis, smpeg2, flac, libmodplug
|
, SDL2, libogg, libvorbis, smpeg2, flac, libmodplug, opusfile
|
||||||
, CoreServices, AudioUnit, AudioToolbox
|
, CoreServices, AudioUnit, AudioToolbox
|
||||||
, enableNativeMidi ? false, fluidsynth ? null }:
|
, enableNativeMidi ? false, fluidsynth ? null }:
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices AudioUnit AudioToolbox ];
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices AudioUnit AudioToolbox ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ SDL2 libogg libvorbis fluidsynth smpeg2 flac libmodplug ];
|
propagatedBuildInputs = [ SDL2 libogg libvorbis fluidsynth smpeg2 flac libmodplug opusfile ];
|
||||||
|
|
||||||
configureFlags = [ "--disable-music-ogg-shared" ]
|
configureFlags = [ "--disable-music-ogg-shared" ]
|
||||||
++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl"
|
++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user