diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-08-24 23:31:53 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-31 19:30:54 +0200 |
commit | f45881b3822630eda5282b8f016d772c1670df70 (patch) | |
tree | 717145b174b40e795530d6211abfe93e7291a9d0 /meta-oe/recipes-multimedia | |
parent | 09078499f6b8cd6424c300dc0b1564576d0443ac (diff) | |
download | meta-openembedded-f45881b3822630eda5282b8f016d772c1670df70.tar.gz |
libvpx: 1.3.0 -> 1.4.0
* update SRC_URI
* remove re-definition of S
* drop backport patch 0001-configure.sh-quote-local-variables.patch
* update context of libvpx-configure-support-blank-prefix.patch
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r-- | meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch | 40 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch | 42 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb (renamed from meta-oe/recipes-multimedia/webm/libvpx_1.3.0.bb) | 10 |
3 files changed, 25 insertions, 67 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch b/meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch deleted file mode 100644 index bf94b2dce8..0000000000 --- a/meta-oe/recipes-multimedia/webm/libvpx/0001-configure.sh-quote-local-variables.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From f45fe1668401d72c2937a52385b492216715c0f9 Mon Sep 17 00:00:00 2001 | ||
2 | From: James Zern <jzern@google.com> | ||
3 | Date: Thu, 6 Mar 2014 15:58:37 -0800 | ||
4 | Subject: [PATCH] configure.sh: quote local variables | ||
5 | |||
6 | fixes issue #711 | ||
7 | |||
8 | specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure | ||
9 | under dash | ||
10 | |||
11 | reported in | ||
12 | https://bugs.gentoo.org/show_bug.cgi?id=498136 | ||
13 | |||
14 | patch by floppymaster at gmail dot com | ||
15 | |||
16 | Upstream-Status: Backport [f45fe1668401d72c2937a52385b492216715c0f9] | ||
17 | |||
18 | Change-Id: I2ba246f765646161538622739961ec0f6c2d8c2d | ||
19 | --- | ||
20 | build/make/configure.sh | 4 ++-- | ||
21 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
22 | |||
23 | diff --git a/build/make/configure.sh b/build/make/configure.sh | ||
24 | index 449d1b9..43f8e77 100755 | ||
25 | --- a/build/make/configure.sh | ||
26 | +++ b/build/make/configure.sh | ||
27 | @@ -405,8 +405,8 @@ true | ||
28 | } | ||
29 | |||
30 | write_common_target_config_mk() { | ||
31 | - local CC=${CC} | ||
32 | - local CXX=${CXX} | ||
33 | + local CC="${CC}" | ||
34 | + local CXX="${CXX}" | ||
35 | enabled ccache && CC="ccache ${CC}" | ||
36 | enabled ccache && CXX="ccache ${CXX}" | ||
37 | print_webm_license $1 "##" "" | ||
38 | -- | ||
39 | 1.8.3.2 | ||
40 | |||
diff --git a/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch b/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch index 1bf863dfa2..c7a6e51e76 100644 --- a/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch +++ b/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch | |||
@@ -13,31 +13,31 @@ Fix configure to accept "--prefix=" (a blank prefix). | |||
13 | ;; | 13 | ;; |
14 | --libdir=*) | 14 | --libdir=*) |
15 | libdir="${optval}" | 15 | libdir="${optval}" |
16 | @@ -471,13 +473,23 @@ | 16 | @@ -587,13 +587,23 @@ process_cmdline() { |
17 | 17 | } | |
18 | 18 | ||
19 | post_process_common_cmdline() { | 19 | post_process_common_cmdline() { |
20 | - prefix="${prefix:-/usr/local}" | 20 | - prefix="${prefix:-/usr/local}" |
21 | + if [ "$prefixset" != "1" ] | 21 | + if [ "$prefixset" != "1" ] |
22 | + then | 22 | + then |
23 | + prefix=/usr/local | 23 | + prefix=/usr/local |
24 | + fi | 24 | + fi |
25 | + | 25 | + |
26 | + # Strip trailing slash | 26 | + # Strip trailing slash |
27 | prefix="${prefix%/}" | 27 | prefix="${prefix%/}" |
28 | + | 28 | + |
29 | libdir="${libdir:-${prefix}/lib}" | 29 | libdir="${libdir:-${prefix}/lib}" |
30 | libdir="${libdir%/}" | 30 | libdir="${libdir%/}" |
31 | - if [ "${libdir#${prefix}}" = "${libdir}" ]; then | 31 | - if [ "${libdir#${prefix}}" = "${libdir}" ]; then |
32 | - die "Libdir ${libdir} must be a subdirectory of ${prefix}" | 32 | - die "Libdir ${libdir} must be a subdirectory of ${prefix}" |
33 | - fi | 33 | - fi |
34 | + | 34 | + |
35 | + case "$libdir" in | 35 | + case "$libdir" in |
36 | + "${prefix}/"*) ;; | 36 | + "${prefix}/"*) ;; |
37 | + *) | 37 | + *) |
38 | + die "Libdir ${libdir} must be a subdirectory of ${prefix}" | 38 | + die "Libdir ${libdir} must be a subdirectory of ${prefix}" |
39 | + ;; | 39 | + ;; |
40 | + esac | 40 | + esac |
41 | } | 41 | } |
42 | 42 | ||
43 | 43 | post_process_cmdline() { | |
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.3.0.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb index eb19a576da..4d9d2fd97d 100644 --- a/meta-oe/recipes-multimedia/webm/libvpx_1.3.0.bb +++ b/meta-oe/recipes-multimedia/webm/libvpx_1.4.0.bb | |||
@@ -7,13 +7,11 @@ LICENSE = "BSD" | |||
7 | 7 | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4" |
9 | 9 | ||
10 | SRC_URI += "http://webm.googlecode.com/files/libvpx-v${PV}.tar.bz2 \ | 10 | SRC_URI += "http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${BP}.tar.bz2 \ |
11 | file://libvpx-configure-support-blank-prefix.patch \ | 11 | file://libvpx-configure-support-blank-prefix.patch \ |
12 | file://0001-configure.sh-quote-local-variables.patch" | 12 | " |
13 | SRC_URI[md5sum] = "14783a148872f2d08629ff7c694eb31f" | 13 | SRC_URI[md5sum] = "63b1d7f59636a42eeeee9225cc14e7de" |
14 | SRC_URI[sha256sum] = "d3dcc8d84af51c6c382b214397c62402e37a799e8ebcda6f4217aef0010451a9" | 14 | SRC_URI[sha256sum] = "f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4" |
15 | |||
16 | S = "${WORKDIR}/libvpx-v${PV}" | ||
17 | 15 | ||
18 | # ffmpeg links with this and fails | 16 | # ffmpeg links with this and fails |
19 | # 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' | 17 | # 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' |