From: Bernd Kuhls Date: Sun, 29 Mar 2015 17:11:28 +0000 (+0200) Subject: package/mplayer: add optional rtmpdump support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ae0eb1cc86e68b987ba2c33aa4f069af1493ec0;p=buildroot.git package/mplayer: add optional rtmpdump support Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 46bc2b078b..412837dc7a 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -166,6 +166,14 @@ else MPLAYER_CONF_OPTS += --disable-gif endif +# We intentionally don't pass --enable-librtmp to let autodetection +# find which library to link with. +ifeq ($(BR2_PACKAGE_RTMPDUMP),y) +MPLAYER_DEPENDENCIES += rtmpdump +else +MPLAYER_CONF_OPTS += --disable-librtmp +endif + ifeq ($(BR2_PACKAGE_LZO),y) MPLAYER_DEPENDENCIES += lzo MPLAYER_CONF_OPTS += --enable-liblzo