mplayer: Take config.pulseaudio into account.

Packages like libao or skype already honor config.pulseaudio, so let's assure
that mplayer does so as well.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2012-11-22 02:30:34 +01:00
parent 57ece5d3e5
commit 37fc18eb1e
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961
1 changed files with 3 additions and 1 deletions

View File

@ -7424,7 +7424,9 @@ let
ncmpcpp = callPackage ../applications/audio/ncmpcpp { }; ncmpcpp = callPackage ../applications/audio/ncmpcpp { };
MPlayer = callPackage ../applications/video/MPlayer { }; MPlayer = callPackage ../applications/video/MPlayer {
pulseSupport = config.pulseaudio or false;
};
MPlayerPlugin = browser: MPlayerPlugin = browser:
import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in { import ../applications/networking/browsers/mozilla-plugins/mplayerplug-in {