From 0ae0eb1cc86e68b987ba2c33aa4f069af1493ec0 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 29 Mar 2015 19:11:28 +0200 Subject: [PATCH] package/mplayer: add optional rtmpdump support Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/mplayer/mplayer.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.30.2