alsa-utils_1.0.23.bb: Fix compilation for uclibc targets

Use libc-uclibc override to cover all uclibc cases

inherit gettext class instead of adding gettext to DEPENDS directly

(From OE-Core rev: d33570f43cd9f0ff3182c5ed28ce721928074b8a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2011-04-22 12:45:14 -07:00 committed by Richard Purdie
parent e3e96e6036
commit 197557bc70
1 changed files with 4 additions and 5 deletions

View File

@ -5,11 +5,11 @@ SECTION = "console/utils"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9"
DEPENDS = "alsa-lib ncurses gettext"
DEPENDS = "alsa-lib ncurses"
PR = "r0"
SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
file://ncursesfix.patch;patch=1 "
file://ncursesfix.patch"
SRC_URI[md5sum] = "8238cd57cb301d1c36bcf0ecb59ce6b2"
SRC_URI[sha256sum] = "95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5ac1be2"
@ -19,10 +19,9 @@ SRC_URI[sha256sum] = "95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5
# please close bug and remove this comment when properly fixed
#
EXTRA_OECONF = "--disable-xmlto"
EXTRA_OECONF_linux-uclibc = "--disable-nls"
EXTRA_OECONF_linux-uclibcgnueabi = "--disable-nls"
EXTRA_OECONF_append_libc-uclibc = " --disable-nls"
inherit autotools
inherit autotools gettext
# This are all packages that we need to make. Also, the now empty alsa-utils
# ipk depend on them.