diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-11-14 11:39:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-15 12:05:30 +0000 |
commit | 9b6a548f5a0b06c39d9287ec7f32236d19405819 (patch) | |
tree | 399600da7d22fd2fbd4b1723f068c722097224a1 | |
parent | 4ec1632de73a1db891700c0cbff3667afc8d3a4f (diff) | |
download | poky-9b6a548f5a0b06c39d9287ec7f32236d19405819.tar.gz |
alsa-lib: use PKGSUFFIX for every package to resolve multiple runtime providers from target and nativesdk
(From OE-Core rev: 60738953f6fee24de447cd0f9cf81cce6f8966a5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb | 19 |
1 files changed, 11 insertions, 8 deletions
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 index b787c54caf..7f643b737e 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.0.24.1.bb | |||
@@ -14,7 +14,7 @@ BBCLASSEXTEND = "native" | |||
14 | #FIXME: remove the following | 14 | #FIXME: remove the following |
15 | ARM_INSTRUCTION_SET = "arm" | 15 | ARM_INSTRUCTION_SET = "arm" |
16 | 16 | ||
17 | PR = "r0" | 17 | PR = "r1" |
18 | 18 | ||
19 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ | 19 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ |
20 | file://fix-tstamp-declaration.patch" | 20 | file://fix-tstamp-declaration.patch" |
@@ -31,17 +31,20 @@ EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python" | |||
31 | 31 | ||
32 | EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no " | 32 | EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no " |
33 | 33 | ||
34 | PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev" | 34 | PKGSUFFIX = "" |
35 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
36 | |||
37 | PACKAGES =+ "alsa-server${PKGSUFFIX} libasound${PKGSUFFIX} alsa-conf-base${PKGSUFFIX} alsa-conf${PKGSUFFIX} alsa-doc${PKGSUFFIX} alsa-dev${PKGSUFFIX}" | ||
35 | FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" | 38 | FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" |
36 | FILES_libasound = "${libdir}/libasound.so.*" | 39 | FILES_libasound${PKGSUFFIX} = "${libdir}/libasound.so.*" |
37 | FILES_alsa-server = "${bindir}/*" | 40 | FILES_alsa-server${PKGSUFFIX} = "${bindir}/*" |
38 | FILES_alsa-conf = "${datadir}/alsa/" | 41 | FILES_alsa-conf${PKGSUFFIX} = "${datadir}/alsa/" |
39 | FILES_alsa-dev += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" | 42 | FILES_alsa-dev${PKGSUFFIX} += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" |
40 | FILES_alsa-conf-base = "\ | 43 | FILES_alsa-conf-base${PKGSUFFIX} = "\ |
41 | ${datadir}/alsa/alsa.conf \ | 44 | ${datadir}/alsa/alsa.conf \ |
42 | ${datadir}/alsa/cards/aliases.conf \ | 45 | ${datadir}/alsa/cards/aliases.conf \ |
43 | ${datadir}/alsa/pcm/default.conf \ | 46 | ${datadir}/alsa/pcm/default.conf \ |
44 | ${datadir}/alsa/pcm/dmix.conf \ | 47 | ${datadir}/alsa/pcm/dmix.conf \ |
45 | ${datadir}/alsa/pcm/dsnoop.conf" | 48 | ${datadir}/alsa/pcm/dsnoop.conf" |
46 | 49 | ||
47 | RDEPENDS_libasound = "alsa-conf-base" | 50 | RDEPENDS_libasound${PKGSUFFIX} = "alsa-conf-base${PKGSUFFIX}" |