[oe] [PATCH] Adding support for directFB to mplayer2 recipe

Martin Jansa martin.jansa at gmail.com
Wed May 27 10:35:31 UTC 2015


On Wed, May 27, 2015 at 10:34:06AM +0200, Hector Roussille wrote:
> ---

I've fixed commit message format when cherry-picking to master-next, but
please confirm that it's OK to add you SOB line or re-send.

>  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}
>      
> -- 
> 2.1.0
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



More information about the Openembedded-devel mailing list