summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-06-26 16:29:38 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-06-30 13:19:00 +0100
commit7f1d42b044ead4454ab0bb77e7db85286605370a (patch)
tree5e3ce1fb7748895447ca934763f5ac712b80b4c5
parent74221a49871978a8f9f4d6303efb014d2a58825f (diff)
downloadopenembedded-core-7f1d42b044ead4454ab0bb77e7db85286605370a.tar.gz
openembedded-core-7f1d42b044ead4454ab0bb77e7db85286605370a.tar.bz2
openembedded-core-7f1d42b044ead4454ab0bb77e7db85286605370a.zip
alsa-utils: Upgraded to version 1.0.23
Rebased ncursesfix.patch to 1.0.23 and commented for it Change the local file directory name to ${PN}-${PV} Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-rw-r--r--meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch (renamed from meta/packages/alsa/alsa-utils/ncursesfix.patch)25
-rw-r--r--meta/packages/alsa/alsa-utils_1.0.23.bb (renamed from meta/packages/alsa/alsa-utils_1.0.20.bb)2
2 files changed, 18 insertions, 9 deletions
diff --git a/meta/packages/alsa/alsa-utils/ncursesfix.patch b/meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch
index fa1b138261..0009c1afe9 100644
--- a/meta/packages/alsa/alsa-utils/ncursesfix.patch
+++ b/meta/packages/alsa/alsa-utils-1.0.23/ncursesfix.patch
@@ -1,27 +1,36 @@
-Index: alsa-utils-1.0.20/configure.in
-===================================================================
---- alsa-utils-1.0.20.orig/configure.in 2009-05-23 23:37:02.000000000 +0100
-+++ alsa-utils-1.0.20/configure.in 2009-05-23 23:37:24.000000000 +0100
-@@ -106,28 +106,12 @@
- curseslib="$withval",
- curseslib="auto")
- if test "$curseslib" = "ncursesw"; then
+# alsa-utils: Fix ncurses build failures
+# Richard Purdie <rpurdie@linux.intel.com>
+# Rebased to 1.0.23, Dongxiao Xu <dongxiao.xu@intel.com>
+
+diff -ruN alsa-utils-1.0.23-orig/configure.in alsa-utils-1.0.23/configure.in
+--- alsa-utils-1.0.23-orig/configure.in 2010-04-16 19:19:12.000000000 +0800
++++ alsa-utils-1.0.23/configure.in 2010-06-22 15:22:06.731202478 +0800
+@@ -109,34 +109,16 @@
+ NCURSESLIBSUFFIX=""
+ CURSES_NLS="no"
+ if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then
- AC_CHECK_PROG([ncursesw5_config], [ncursesw5-config], [yes])
- if test "$ncursesw5_config" = "yes"; then
- CURSESINC="<ncurses.h>"
- CURSESLIB=`ncursesw5-config --libs`
+- CURSESLIBDIR=`ncursesw5-config --libdir`
- CURSES_CFLAGS=`ncursesw5-config --cflags`
- curseslib="ncursesw"
- else
AC_CHECK_LIB(ncursesw, initscr,
[ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"])
- fi
+ if test -n "$CURSESINC"; then
+ NCURSESLIBSUFFIX="w"
+ CURSES_NLS="yes"
+ fi
fi
if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then
- AC_CHECK_PROG([ncurses5_config], [ncurses5-config], [yes])
- if test "$ncurses5_config" = "yes"; then
- CURSESINC="<ncurses.h>"
- CURSESLIB=`ncurses5-config --libs`
+- CURSESLIBDIR=`ncurses5-config --libdir`
- CURSES_CFLAGS=`ncurses5-config --cflags`
- curseslib="ncurses"
- else
diff --git a/meta/packages/alsa/alsa-utils_1.0.20.bb b/meta/packages/alsa/alsa-utils_1.0.23.bb
index d15370417f..ef571ce8ac 100644
--- a/meta/packages/alsa/alsa-utils_1.0.20.bb
+++ b/meta/packages/alsa/alsa-utils_1.0.23.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org"
SECTION = "console/utils"
LICENSE = "GPL"
DEPENDS = "alsa-lib ncurses gettext"
-PR = "r1"
+PR = "r0"
SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
file://ncursesfix.patch;patch=1 "