summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2016-01-14 14:41:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-18 11:47:05 +0000
commit180f17049ea3e8da75c384d3c1e2f9a7ee06f181 (patch)
tree72f128a27b519df88187a7d214438b8c3be8a3da /meta/recipes-multimedia/alsa
parenta8c25af91e56f20b9cfd4fa298b5002efc7af809 (diff)
downloadpoky-180f17049ea3e8da75c384d3c1e2f9a7ee06f181.tar.gz
alsa-lib: 1.0.29 -> 1.1.0
Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0 The most significant change is probably the addition of the "topology API", which is used to change the DSP topology from userspace. My understanding is that the API is (or will be) needed to support some new hardware, but I don't know any specifics about that. Rebased Check-if-wordexp-function-is-supported.patch. Dropped 0001-build-Do-not-try-to-detect-cross-compiler.patch, since it is included in the new release. (From OE-Core rev: 13a2786493bd91a54e3a5342da11c06a9b6c99b8) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib/0001-build-Do-not-try-to-detect-cross-compiler.patch45
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch14
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb (renamed from meta/recipes-multimedia/alsa/alsa-lib_1.0.29.bb)5
3 files changed, 9 insertions, 55 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-build-Do-not-try-to-detect-cross-compiler.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-build-Do-not-try-to-detect-cross-compiler.patch
deleted file mode 100644
index 583bc3daab..0000000000
--- a/meta/recipes-multimedia/alsa/alsa-lib/0001-build-Do-not-try-to-detect-cross-compiler.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 17aeb3565f411e7796cabe403f92d15948a8ca95 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 21 Aug 2015 14:42:45 -0700
4Subject: [PATCH] build: Do not try to detect cross-compiler
5
6cross compilers are passed via path may not be a gcc based cross
7compiler in such cases this check fails and try's to force gcc based
8cross compiler detection, This code is a convenience that limits the
9build system
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13Upstream-Status: Pending
14
15 configure.ac | 14 --------------
16 1 file changed, 14 deletions(-)
17
18diff --git a/configure.ac b/configure.ac
19index 3022cf8..9d77440 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -27,20 +27,6 @@ AC_PREFIX_DEFAULT(/usr)
23
24 dnl Checks for programs.
25
26-dnl try to gues cross-compiler if not set
27-if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
28-then
29- AC_MSG_CHECKING(for cross-compiler)
30-
31- which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
32- which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
33- && CC=${host_cpu}-${host_os}-gcc
34- which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
35- && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
36-
37- AC_MSG_RESULT($CC)
38-fi
39-
40 CFLAGS="$CFLAGS -D_GNU_SOURCE"
41
42
43--
442.1.4
45
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch b/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch
index 75a6eb8a3c..795e48ab2e 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch
+++ b/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch
@@ -1,4 +1,4 @@
1From e33357b59a10d44e9bec5d24100ce23ca300cc79 Mon Sep 17 00:00:00 2001 1From 3408f8e78776b12f131e433749721602f87e0a70 Mon Sep 17 00:00:00 2001
2From: "Hong H. Pham" <hong.pham@windriver.com> 2From: "Hong H. Pham" <hong.pham@windriver.com>
3Date: Fri, 29 Aug 2014 17:13:55 +0300 3Date: Fri, 29 Aug 2014 17:13:55 +0300
4Subject: [PATCH] Check if wordexp function is supported 4Subject: [PATCH] Check if wordexp function is supported
@@ -18,15 +18,15 @@ Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
18 2 files changed, 5 insertions(+), 2 deletions(-) 18 2 files changed, 5 insertions(+), 2 deletions(-)
19 19
20diff --git a/configure.ac b/configure.ac 20diff --git a/configure.ac b/configure.ac
21index b8353a0..773b72f 100644 21index 9490d39..b08a90a 100644
22--- a/configure.ac 22--- a/configure.ac
23+++ b/configure.ac 23+++ b/configure.ac
24@@ -311,7 +311,10 @@ fi 24@@ -295,7 +295,10 @@ fi
25 AC_SUBST(ALSA_DEPLIBS) 25 AC_SUBST(ALSA_DEPLIBS)
26 26
27 dnl Check for headers 27 dnl Check for headers
28-AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h]) 28-AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h sys/shm.h])
29+AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h], 29+AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h sys/shm.h],
30+ dnl Make sure wordexp is supported by the C library 30+ dnl Make sure wordexp is supported by the C library
31+ AC_CHECK_FUNCS([wordexp]) 31+ AC_CHECK_FUNCS([wordexp])
32+) 32+)
@@ -34,7 +34,7 @@ index b8353a0..773b72f 100644
34 dnl Check for resmgr support... 34 dnl Check for resmgr support...
35 AC_MSG_CHECKING(for resmgr support) 35 AC_MSG_CHECKING(for resmgr support)
36diff --git a/src/userfile.c b/src/userfile.c 36diff --git a/src/userfile.c b/src/userfile.c
37index 3a73836..b8ce809 100644 37index 72779da..e9d13e6 100644
38--- a/src/userfile.c 38--- a/src/userfile.c
39+++ b/src/userfile.c 39+++ b/src/userfile.c
40@@ -32,7 +32,7 @@ 40@@ -32,7 +32,7 @@
@@ -47,5 +47,5 @@ index 3a73836..b8ce809 100644
47 #include <assert.h> 47 #include <assert.h>
48 int snd_user_file(const char *file, char **result) 48 int snd_user_file(const char *file, char **result)
49-- 49--
501.9.1 502.6.4
51 51
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.0.29.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb
index 8eaeff4b2a..d62c1fc31c 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.0.29.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb
@@ -16,10 +16,9 @@ ARM_INSTRUCTION_SET = "arm"
16 16
17SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \ 17SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \
18 file://Check-if-wordexp-function-is-supported.patch \ 18 file://Check-if-wordexp-function-is-supported.patch \
19 file://0001-build-Do-not-try-to-detect-cross-compiler.patch \
20" 19"
21SRC_URI[md5sum] = "de67e0eca72474d6b1121037dafe1024" 20SRC_URI[md5sum] = "69515ca73c3c4a212ef45160dea846c1"
22SRC_URI[sha256sum] = "73043c35eb9636be0f4af6a240235c213f12a25feb1f04aeeac8cb7e30fcbdd0" 21SRC_URI[sha256sum] = "dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15"
23 22
24inherit autotools pkgconfig 23inherit autotools pkgconfig
25 24