From 555bd3102fcd83d728091e074977b5a4228a2b1b Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Wed, 14 Mar 2012 17:03:39 +0800 Subject: alsa-lib: update to 1.0.25 Update to version 1.0.25, rename the patch directory at same time. Signed-off-by: Kang Kai Signed-off-by: Richard Purdie --- .../alsa-lib-1.0.24.1/fix-tstamp-declaration.patch | 21 --------- .../alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch | 14 ------ .../alsa-lib-1.0.25/fix-tstamp-declaration.patch | 21 +++++++++ .../alsa/alsa-lib-1.0.25/unbreak_plugindir.patch | 14 ++++++ meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb | 50 ---------------------- meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb | 50 ++++++++++++++++++++++ 6 files changed, 85 insertions(+), 85 deletions(-) delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.0.25/fix-tstamp-declaration.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.0.25/unbreak_plugindir.patch delete mode 100644 meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb create mode 100644 meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb (limited to 'meta') diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch deleted file mode 100644 index 32b84b7d7..000000000 --- a/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch +++ /dev/null @@ -1,21 +0,0 @@ -# Author: Michael Lauer -# Date: Thu Jan 18 00:27:21 2007 +0000 -# alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options -# -# Acquired from OpenEmbedded - -Upstream-Status: Pending - -Index: alsa-lib-1.0.13/include/global.h -=================================================================== ---- alsa-lib-1.0.13.orig/include/global.h -+++ alsa-lib-1.0.13/include/global.h -@@ -29,6 +29,8 @@ - #define __ALSA_GLOBAL_H_ - - /* for timeval and timespec */ -+#define __need_timeval -+#define __need_timespec - #include - - #ifdef __cplusplus diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch deleted file mode 100644 index 1f3edd06a..000000000 --- a/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch +++ /dev/null @@ -1,14 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -diff -Nur alsa-lib-1.0.14.orig/configure.in alsa-lib-1.0.14/configure.in ---- alsa-lib-1.0.14.orig/configure.in 2007-05-31 03:05:13.000000000 -0500 -+++ alsa-lib-1.0.14/configure.in 2007-08-18 13:05:49.000000000 -0500 -@@ -93,7 +93,7 @@ - esac - plugindir="$dir/$PACKAGE" - fi --AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "plugindir", [directory containing ALSA add-on modules]) -+AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "${plugindir}", [directory containing ALSA add-on modules]) - ALSA_PLUGIN_DIR="$plugindir" - AC_SUBST(ALSA_PLUGIN_DIR) - diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.0.25/fix-tstamp-declaration.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.0.25/fix-tstamp-declaration.patch new file mode 100644 index 000000000..32b84b7d7 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-lib-1.0.25/fix-tstamp-declaration.patch @@ -0,0 +1,21 @@ +# Author: Michael Lauer +# Date: Thu Jan 18 00:27:21 2007 +0000 +# alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options +# +# Acquired from OpenEmbedded + +Upstream-Status: Pending + +Index: alsa-lib-1.0.13/include/global.h +=================================================================== +--- alsa-lib-1.0.13.orig/include/global.h ++++ alsa-lib-1.0.13/include/global.h +@@ -29,6 +29,8 @@ + #define __ALSA_GLOBAL_H_ + + /* for timeval and timespec */ ++#define __need_timeval ++#define __need_timespec + #include + + #ifdef __cplusplus diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.0.25/unbreak_plugindir.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.0.25/unbreak_plugindir.patch new file mode 100644 index 000000000..1f3edd06a --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-lib-1.0.25/unbreak_plugindir.patch @@ -0,0 +1,14 @@ +Upstream-Status: Inappropriate [configuration] + +diff -Nur alsa-lib-1.0.14.orig/configure.in alsa-lib-1.0.14/configure.in +--- alsa-lib-1.0.14.orig/configure.in 2007-05-31 03:05:13.000000000 -0500 ++++ alsa-lib-1.0.14/configure.in 2007-08-18 13:05:49.000000000 -0500 +@@ -93,7 +93,7 @@ + esac + plugindir="$dir/$PACKAGE" + fi +-AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "plugindir", [directory containing ALSA add-on modules]) ++AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "${plugindir}", [directory containing ALSA add-on modules]) + ALSA_PLUGIN_DIR="$plugindir" + AC_SUBST(ALSA_PLUGIN_DIR) + diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb deleted file mode 100644 index 83e663d19..000000000 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb +++ /dev/null @@ -1,50 +0,0 @@ -DESCRIPTION = "Alsa sound library" -HOMEPAGE = "http://www.alsa-project.org" -BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php" -SECTION = "libs/multimedia" -LICENSE = "LGPLv2.1 & GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ - file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545" - -BBCLASSEXTEND = "native nativesdk" - -# configure.in sets -D__arm__ on the command line for any arm system -# (not just those with the ARM instruction set), this should be removed, -# (or replaced by a permitted #define). -#FIXME: remove the following -ARM_INSTRUCTION_SET = "arm" - -PR = "r1" - -SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ - file://fix-tstamp-declaration.patch" - -SRC_URI[md5sum] = "7cc05f25e1d5b65da8fb3fdcd540f226" -SRC_URI[sha256sum] = "a32f7c21015b6c71f9a80ff70a2b6a50e4ff4d5c77c744ff0793dea7ba7a2517" - -inherit autotools pkgconfig - -require alsa-fpu.inc -EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " - -EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python" - -EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no " - -PKGSUFFIX = "" -PKGSUFFIX_virtclass-nativesdk = "-nativesdk" - -PACKAGES =+ "alsa-server${PKGSUFFIX} libasound${PKGSUFFIX} alsa-conf-base${PKGSUFFIX} alsa-conf${PKGSUFFIX} alsa-doc${PKGSUFFIX} alsa-dev${PKGSUFFIX}" -FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" -FILES_libasound${PKGSUFFIX} = "${libdir}/libasound.so.*" -FILES_alsa-server${PKGSUFFIX} = "${bindir}/*" -FILES_alsa-conf${PKGSUFFIX} = "${datadir}/alsa/" -FILES_alsa-dev${PKGSUFFIX} += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" -FILES_alsa-conf-base${PKGSUFFIX} = "\ -${datadir}/alsa/alsa.conf \ -${datadir}/alsa/cards/aliases.conf \ -${datadir}/alsa/pcm/default.conf \ -${datadir}/alsa/pcm/dmix.conf \ -${datadir}/alsa/pcm/dsnoop.conf" - -RDEPENDS_libasound${PKGSUFFIX} = "alsa-conf-base${PKGSUFFIX}" diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb new file mode 100644 index 000000000..90b0cba03 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb @@ -0,0 +1,50 @@ +DESCRIPTION = "Alsa sound library" +HOMEPAGE = "http://www.alsa-project.org" +BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php" +SECTION = "libs/multimedia" +LICENSE = "LGPLv2.1 & GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ + file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545" + +BBCLASSEXTEND = "native nativesdk" + +# configure.in sets -D__arm__ on the command line for any arm system +# (not just those with the ARM instruction set), this should be removed, +# (or replaced by a permitted #define). +#FIXME: remove the following +ARM_INSTRUCTION_SET = "arm" + +PR = "r0" + +SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ + file://fix-tstamp-declaration.patch" + +SRC_URI[md5sum] = "06fe5819020c6684b991dcffc5471304" +SRC_URI[sha256sum] = "5a1a805cf04106316d549ec650116ce6711a162e107ba8b3c551866680e286e6" + +inherit autotools pkgconfig + +require alsa-fpu.inc +EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " + +EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python" + +EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no " + +PKGSUFFIX = "" +PKGSUFFIX_virtclass-nativesdk = "-nativesdk" + +PACKAGES =+ "alsa-server${PKGSUFFIX} libasound${PKGSUFFIX} alsa-conf-base${PKGSUFFIX} alsa-conf${PKGSUFFIX} alsa-doc${PKGSUFFIX} alsa-dev${PKGSUFFIX}" +FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" +FILES_libasound${PKGSUFFIX} = "${libdir}/libasound.so.*" +FILES_alsa-server${PKGSUFFIX} = "${bindir}/*" +FILES_alsa-conf${PKGSUFFIX} = "${datadir}/alsa/" +FILES_alsa-dev${PKGSUFFIX} += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" +FILES_alsa-conf-base${PKGSUFFIX} = "\ +${datadir}/alsa/alsa.conf \ +${datadir}/alsa/cards/aliases.conf \ +${datadir}/alsa/pcm/default.conf \ +${datadir}/alsa/pcm/dmix.conf \ +${datadir}/alsa/pcm/dsnoop.conf" + +RDEPENDS_libasound${PKGSUFFIX} = "alsa-conf-base${PKGSUFFIX}" -- cgit v1.2.3