Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 3/3 resend] mplayer: Enable live and tv options
@ 2011-11-08 11:16 keguang.zhang at gmail.com
  2011-11-09 22:43 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: keguang.zhang at gmail.com @ 2011-11-08 11:16 UTC (permalink / raw)
  To: buildroot

From: Kelvin Cheung <keguang.zhang@gmail.com>

1.Enable TV interface.
2.Enable LIVE555 Streaming Media if live555 is available.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
---
 package/multimedia/mplayer/mplayer.mk |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk
index 4c03440..9ef98f1 100644
--- a/package/multimedia/mplayer/mplayer.mk
+++ b/package/multimedia/mplayer/mplayer.mk
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 3/3 resend] mplayer: Enable live and tv options
  2011-11-08 11:16 [Buildroot] [PATCH 3/3 resend] mplayer: Enable live and tv options keguang.zhang at gmail.com
@ 2011-11-09 22:43 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2011-11-09 22:43 UTC (permalink / raw)
  To: buildroot

>>>>> "keguang" == keguang zhang <keguang.zhang@gmail.com> writes:

 keguang> From: Kelvin Cheung <keguang.zhang@gmail.com>
 keguang> 1.Enable TV interface.
 keguang> 2.Enable LIVE555 Streaming Media if live555 is available.

Committed with minor cleanups, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-09 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 11:16 [Buildroot] [PATCH 3/3 resend] mplayer: Enable live and tv options keguang.zhang at gmail.com
2011-11-09 22:43 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox