From: Bernd Kuhls Date: Sun, 12 Mar 2017 11:44:57 +0000 (+0100) Subject: package/mplayer: add optional support for pulseaudio X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a085b7c3139b2c4543530fb0adf0047d8a4c1fd3;p=buildroot.git package/mplayer: add optional support for pulseaudio Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 07307cede2..8288dcb1ec 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -224,6 +224,12 @@ else MPLAYER_CONF_OPTS += --disable-gif endif +# We intentionally don't pass --enable-pulse, to let the +# autodetection find which library to link with. +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +MPLAYER_DEPENDENCIES += pulseaudio +endif + # We intentionally don't pass --enable-librtmp to let autodetection # find which library to link with. ifeq ($(BR2_PACKAGE_RTMPDUMP),y)