mplayer: Enable live and tv options
PATCH RESEND 3/3 mplayer: Enable live and tv options
From: Kelvin Cheung <[email protected]>
1.Enable TV interface.
2.Enable LIVE555 Streaming Media if live555 is available.
Signed-off-by Kelvin Cheung <[email protected]>
--- package/multimedia/mplayer/mplayer.mk | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-)
package/multimedia/mplayer/mplayer.mk +18 -4
@@ -75,6 +75,22 @@ else MPLAYER_CONF_OPTS += --disable-mad endif +ifeq ($(BR2_PACKAGE_LIVE555),y) +MPLAYER_DEPENDENCIES += live555 +MPLAYER_CONF_OPTS += --enable-live +MPLAYER_LIVE555_CFLAGS += -I$(STAGING_DIR)/usr/include/live/liveMedia +MPLAYER_LIVE555_CFLAGS += -I$(STAGING_DIR)/usr/include/live/groupsock +MPLAYER_LIVE555_CFLAGS += -I$(STAGING_DIR)/usr/include/live/UsageEnvironment +MPLAYER_LIVE555_CFLAGS += -I$(STAGING_DIR)/usr/include/live/BasicUsageEnvironment +MPLAYER_LIVE555_LDFLAGS += -lliveMedia +MPLAYER_LIVE555_LDFLAGS += -lgroupsock +MPLAYER_LIVE555_LDFLAGS += -lUsageEnvironment +MPLAYER_LIVE555_LDFLAGS += -lBasicUsageEnvironment +MPLAYER_LIVE555_LDFLAGS += -lstdc++ +else +MPLAYER_CONF_OPTS += --disable-live +endif + MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBTHEORA),libtheora) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)
@@ -106,15 +122,13 @@ define MPLAYER_CONFIGURE_CMDS --cc="$(TARGET_CC)" \ --as="$(TARGET_AS)" \ --charset=UTF-8 \ - --extra-cflags="$(TARGET_CFLAGS)" \ - --extra-ldflags="$(TARGET_LDFLAGS)" \ + --extra-cflags="$(TARGET_CFLAGS) $(MPLAYER_LIVE555_CFLAGS)" \ + --extra-ldflags="$(TARGET_LDFLAGS) $(MPLAYER_LIVE555_LDFLAGS)" \ --enable-mad \ --enable-fbdev \ $(MPLAYER_CONF_OPTS) \ --enable-cross-compile \ --disable-ivtv \ - --disable-tv \ - --disable-live \ --enable-dynamic-plugins \ ) endef
Signature · 1 line
1.7.1
PATCH RESEND 3/3 mplayer: Enable live and tv options
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"keguang" == keguang zhang <[email protected]> writes:
keguang> From: Kelvin Cheung <[email protected]> keguang> 1.Enable TV interface.
keguang> 2.Enable LIVE555 Streaming Media if live555 is available.
Committed with minor cleanups, thanks.
Signature · 1 line
Bye, Peter Korsgaard