mpd: Support for PulseAudio
This commit is contained in:
parent
57e0371f12
commit
87e9b49443
@ -18,7 +18,9 @@
|
|||||||
, samplerateSupport ? true, libsamplerate
|
, samplerateSupport ? true, libsamplerate
|
||||||
, mmsSupport ? true, libmms
|
, mmsSupport ? true, libmms
|
||||||
, mpg123Support ? true, mpg123
|
, mpg123Support ? true, mpg123
|
||||||
, aacSupport ? true, faad2 }:
|
, aacSupport ? true, faad2
|
||||||
|
, pulseaudioSupport ? true, pulseaudio
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -56,7 +58,8 @@ in stdenv.mkDerivation rec {
|
|||||||
++ opt mmsSupport libmms
|
++ opt mmsSupport libmms
|
||||||
++ opt mpg123Support mpg123
|
++ opt mpg123Support mpg123
|
||||||
++ opt aacSupport faad2
|
++ opt aacSupport faad2
|
||||||
++ opt zipSupport zziplib;
|
++ opt zipSupport zziplib
|
||||||
|
++ opt zipSupport pulseaudio;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ (mkFlag (!stdenv.isDarwin && alsaSupport) "alsa")
|
[ (mkFlag (!stdenv.isDarwin && alsaSupport) "alsa")
|
||||||
@ -80,6 +83,7 @@ in stdenv.mkDerivation rec {
|
|||||||
(mkFlag mmsSupport "mms")
|
(mkFlag mmsSupport "mms")
|
||||||
(mkFlag mpg123Support "mpg123")
|
(mkFlag mpg123Support "mpg123")
|
||||||
(mkFlag aacSupport "aac")
|
(mkFlag aacSupport "aac")
|
||||||
|
(mkFlag pulseaudioSupport "pulse")
|
||||||
(mkFlag stdenv.isDarwin "osx")
|
(mkFlag stdenv.isDarwin "osx")
|
||||||
"--enable-debugging" ]
|
"--enable-debugging" ]
|
||||||
++ opt stdenv.isLinux
|
++ opt stdenv.isLinux
|
||||||
|
Loading…
Reference in New Issue
Block a user