Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Rebecca Chang <rebecca.swee.fun.chang@intel.com>
Subject: Re: [meta-oe] [PATCH] libvpx: upgrade to version 1.5.0
Date: Mon, 29 Feb 2016 11:27:41 +0100	[thread overview]
Message-ID: <20160229102741.GA2563@jama> (raw)
In-Reply-To: <1456733307-8500-2-git-send-email-rebecca.swee.fun.chang@intel.com>

[-- Attachment #1: Type: text/plain, Size: 4973 bytes --]

On Mon, Feb 29, 2016 at 04:08:27PM +0800, Rebecca Chang wrote:
> From: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
> 
> This version had improved VP9 encoder and speeds up the encoding and
> decoding process.

Please resend with -M parameter, so it's easier to review.

> 
> Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
> ---
>  meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb | 51 -------------------------
>  meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb | 50 ++++++++++++++++++++++++
>  2 files changed, 50 insertions(+), 51 deletions(-)
>  delete mode 100644 meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb
>  create mode 100644 meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb
> 
> diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb
> deleted file mode 100644
> index c963a9c..0000000
> --- a/meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb
> +++ /dev/null
> @@ -1,51 +0,0 @@
> -SUMMARY = "VPX multi-format codec"
> -DESCRIPTION = "The BSD-licensed libvpx reference implementation provides en- and decoders for VP8 and VP9 bitstreams."
> -HOMEPAGE = "http://www.webmproject.org/code/"
> -BUGTRACKER = "http://code.google.com/p/webm/issues/list"
> -SECTION = "libs/multimedia"
> -LICENSE = "BSD"
> -
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4"
> -
> -SRC_URI += "http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${BP}.tar.bz2 \
> -            file://libvpx-configure-support-blank-prefix.patch \
> -           "
> -SRC_URI[md5sum] = "63b1d7f59636a42eeeee9225cc14e7de"
> -SRC_URI[sha256sum] = "f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4"
> -
> -# ffmpeg links with this and fails 
> -# sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4'
> -ARM_INSTRUCTION_SET = "arm"
> -
> -CFLAGS += "-fPIC"
> -
> -export CC
> -export LD = "${CC}"
> -
> -VPXTARGET_armv5te = "armv5te-linux-gcc"
> -VPXTARGET_armv6 = "armv6-linux-gcc"
> -VPXTARGET_armv7a = "armv7-linux-gcc"
> -VPXTARGET ?= "generic-gnu"
> -
> -CONFIGUREOPTS = " \
> -    --target=${VPXTARGET} \
> -    --enable-vp8 \
> -    --enable-vp9 \
> -    --enable-libs \
> -    --disable-install-docs \
> -    --disable-static \
> -    --enable-shared \
> -    --prefix=${prefix} \
> -    --libdir=${libdir} \
> -    --size-limit=16384x16384 \
> -"
> -
> -do_configure() {
> -    ${S}/configure ${CONFIGUREOPTS}
> -}
> -
> -do_install() {
> -    oe_runmake install DESTDIR=${D}
> -    chown -R root:root ${D}
> -}
> -
> diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb
> new file mode 100644
> index 0000000..8ac178d
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb
> @@ -0,0 +1,50 @@
> +SUMMARY = "VPX multi-format codec"
> +DESCRIPTION = "The BSD-licensed libvpx reference implementation provides en- and decoders for VP8 and VP9 bitstreams."
> +HOMEPAGE = "http://www.webmproject.org/code/"
> +BUGTRACKER = "http://code.google.com/p/webm/issues/list"
> +SECTION = "libs/multimedia"
> +LICENSE = "BSD"
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4"
> +
> +SRC_URI += "http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${BP}.tar.bz2 \
> +            file://libvpx-configure-support-blank-prefix.patch \
> +           "
> +SRC_URI[md5sum] = "49e59dd184caa255886683facea56fca"
> +SRC_URI[sha256sum] = "306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797"
> +
> +# ffmpeg links with this and fails
> +# sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4'
> +ARM_INSTRUCTION_SET = "arm"
> +
> +CFLAGS += "-fPIC"
> +
> +export CC
> +export LD = "${CC}"
> +
> +VPXTARGET_armv5te = "armv5te-linux-gcc"
> +VPXTARGET_armv6 = "armv6-linux-gcc"
> +VPXTARGET_armv7a = "armv7-linux-gcc"
> +VPXTARGET ?= "generic-gnu"
> +
> +CONFIGUREOPTS = " \
> +    --target=${VPXTARGET} \
> +    --enable-vp8 \
> +    --enable-vp9 \
> +    --enable-libs \
> +    --disable-install-docs \
> +    --disable-static \
> +    --enable-shared \
> +    --prefix=${prefix} \
> +    --libdir=${libdir} \
> +    --size-limit=16384x16384 \
> +"
> +
> +do_configure() {
> +    ${S}/configure ${CONFIGUREOPTS}
> +}
> +
> +do_install() {
> +    oe_runmake install DESTDIR=${D}
> +    chown -R root:root ${D}
> +}
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

      reply	other threads:[~2016-02-29 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29  8:08 [meta-oe] [PATCH] Upgrade libvpx to v1.5.0 Rebecca Chang
2016-02-29  8:08 ` [meta-oe] [PATCH] libvpx: upgrade to version 1.5.0 Rebecca Chang
2016-02-29 10:27   ` Martin Jansa [this message]

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=20160229102741.GA2563@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=rebecca.swee.fun.chang@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox