diff options
author | Christopher Larson <kergoth@gmail.com> | 2012-04-16 11:05:01 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-03 15:48:01 +0100 |
commit | b877b1a8bfae609a37fd865017d41c1824c63944 (patch) | |
tree | 9e81a9793d997d48adb7b01fe529f8321f05b267 /meta/recipes-multimedia/libsndfile | |
parent | a8bd795aa3188784137995b28943ad546d1a4ece (diff) | |
download | poky-b877b1a8bfae609a37fd865017d41c1824c63944.tar.gz |
libsndfile1: use PACKAGECONFIG for alsa distro feature
(From OE-Core rev: af593b5a3a8e1e552b34ca2785894ac468763024)
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libsndfile')
-rw-r--r-- | meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb index bbe2f1d9ba..0c91fe3d39 100644 --- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb +++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb | |||
@@ -4,7 +4,7 @@ AUTHOR = "Erik de Castro Lopo" | |||
4 | DEPENDS = "sqlite3" | 4 | DEPENDS = "sqlite3" |
5 | SECTION = "libs/multimedia" | 5 | SECTION = "libs/multimedia" |
6 | LICENSE = "LGPLv2.1" | 6 | LICENSE = "LGPLv2.1" |
7 | PR = "r0" | 7 | PR = "r1" |
8 | 8 | ||
9 | SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz" | 9 | SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz" |
10 | 10 | ||
@@ -15,6 +15,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" | |||
15 | 15 | ||
16 | S = "${WORKDIR}/libsndfile-${PV}" | 16 | S = "${WORKDIR}/libsndfile-${PV}" |
17 | 17 | ||
18 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" | ||
19 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
20 | |||
18 | EXTRA_OECONF = "--disable-external-libs" | 21 | EXTRA_OECONF = "--disable-external-libs" |
19 | 22 | ||
20 | inherit autotools lib_package pkgconfig | 23 | inherit autotools lib_package pkgconfig |