From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] Adding support for directFB to mplayer2 recipe
Date: Wed, 27 May 2015 05:36:35 -0600 [thread overview]
Message-ID: <5565AC43.6070406@mlbassoc.com> (raw)
In-Reply-To: <1432725212-14933-1-git-send-email-hroussille@adeneo-embedded.com>
On 2015-05-27 05:13, Hector Roussille wrote:
> Signed-off-by: Hector Roussille <hroussille@adeneo-embedded.com>
> ---
> meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> index 5b0e1de..b208144 100644
> --- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> +++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> @@ -121,6 +121,7 @@ PACKAGECONFIG[postproc] = ",--disable-libpostproc,libpostproc"
> PACKAGECONFIG[vorbis] = ",--disable-libvorbis,libvorbis"
> PACKAGECONFIG[portaudio] = ",--disable-portaudio,portaudio-v19"
> PACKAGECONFIG[mpg123] = ",--disable-mpg123,mpg123"
> +PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb"
>
> FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math"
> BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
> @@ -134,7 +135,7 @@ do_configure() {
> sed -i 's|/usr/\S*lib[\w/]*||g' ${S}/configure
> sed -i 's|_install_strip="-s"|_install_strip=""|g' ${S}/configure
> sed -i 's|HOST_CC|BUILD_CC|' ${S}/Makefile
> -
> + sed -i 's|extra_cflags="-I. $extra_cflags"|extra_cflags="-I. -I${STAGING_INCDIR}/directfb $extra_cflags"|g' ${S}/configure
> export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"
> ./configure ${EXTRA_OECONF}
>
Shouldn't this at least be conditional on directfb support in
DISTRO_FEATURES? It won't do much good to enable it in this
recipe if the rest of the system isn't using directfb as well.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2015-05-27 11:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 11:13 [PATCH] Adding support for directFB to mplayer2 recipe Hector Roussille
2015-05-27 11:36 ` Gary Thomas [this message]
2015-05-27 11:41 ` ROUSSILLE Hector
-- strict thread matches above, loose matches on Subject: below --
2015-05-27 8:34 Hector Roussille
2015-05-27 10:35 ` Martin Jansa
2015-05-27 7:41 Hector Roussille
2015-05-27 7:52 ` Jussi Kukkonen
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=5565AC43.6070406@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=openembedded-devel@lists.openembedded.org \
/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.