From: Kelvin Cheung <keguang.zhang@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] mplayer: Enable live and tv options
Date: Mon, 31 Oct 2011 17:05:30 +0800 [thread overview]
Message-ID: <CAJhJPsVC2LuTiP=rUoGFEKOEArvoCdgizDcbkCK-198Zj7Qe4w@mail.gmail.com> (raw)
In-Reply-To: <1316509288-31106-3-git-send-email-keguang.zhang@gmail.com>
Hi Peter,
What about this patch?
Any problems?
2011/9/20, keguang.zhang at gmail.com <keguang.zhang@gmail.com>:
> 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 f735464..416572c 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
>
>
--
Best Regards!
Kelvin
next prev parent reply other threads:[~2011-10-31 9:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-20 9:01 [Buildroot] [PATCH 1/3] Add vmlinuz support in Kernel binary format for MIPS keguang.zhang at gmail.com
2011-09-20 9:01 ` [Buildroot] [PATCH 2/3] live555: install to staging keguang.zhang at gmail.com
2011-10-28 4:14 ` Kelvin Cheung
2011-10-28 9:03 ` Peter Korsgaard
2011-09-20 9:01 ` [Buildroot] [PATCH 3/3] mplayer: Enable live and tv options keguang.zhang at gmail.com
2011-09-23 1:49 ` Kelvin Cheung
2011-10-28 4:16 ` Kelvin Cheung
2011-10-31 9:05 ` Kelvin Cheung [this message]
2011-10-28 4:12 ` [Buildroot] [PATCH 1/3] Add vmlinuz support in Kernel binary format for MIPS Kelvin Cheung
2011-10-28 6:11 ` Thomas De Schampheleire
2011-10-28 8:52 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJhJPsVC2LuTiP=rUoGFEKOEArvoCdgizDcbkCK-198Zj7Qe4w@mail.gmail.com' \
--to=keguang.zhang@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.