Skip to content

Commit

Permalink
mpd: Support for PulseAudio
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuuzetsu committed Jun 1, 2014
1 parent 57e0371 commit 87e9b49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/servers/mpd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
, samplerateSupport ? true, libsamplerate
, mmsSupport ? true, libmms
, mpg123Support ? true, mpg123
, aacSupport ? true, faad2 }:
, aacSupport ? true, faad2
, pulseaudioSupport ? true, pulseaudio
}:

let

Expand Down Expand Up @@ -56,7 +58,8 @@ in stdenv.mkDerivation rec {
++ opt mmsSupport libmms
++ opt mpg123Support mpg123
++ opt aacSupport faad2
++ opt zipSupport zziplib;
++ opt zipSupport zziplib
++ opt zipSupport pulseaudio;

configureFlags =
[ (mkFlag (!stdenv.isDarwin && alsaSupport) "alsa")
Expand All @@ -80,6 +83,7 @@ in stdenv.mkDerivation rec {
(mkFlag mmsSupport "mms")
(mkFlag mpg123Support "mpg123")
(mkFlag aacSupport "aac")
(mkFlag pulseaudioSupport "pulse")
(mkFlag stdenv.isDarwin "osx")
"--enable-debugging" ]
++ opt stdenv.isLinux
Expand Down

0 comments on commit 87e9b49

Please sign in to comment.