summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2012-04-16 11:05:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-03 15:48:01 +0100
commitb877b1a8bfae609a37fd865017d41c1824c63944 (patch)
tree9e81a9793d997d48adb7b01fe529f8321f05b267
parenta8bd795aa3188784137995b28943ad546d1a4ece (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb5
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"
4DEPENDS = "sqlite3" 4DEPENDS = "sqlite3"
5SECTION = "libs/multimedia" 5SECTION = "libs/multimedia"
6LICENSE = "LGPLv2.1" 6LICENSE = "LGPLv2.1"
7PR = "r0" 7PR = "r1"
8 8
9SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz" 9SRC_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
16S = "${WORKDIR}/libsndfile-${PV}" 16S = "${WORKDIR}/libsndfile-${PV}"
17 17
18PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
19PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
20
18EXTRA_OECONF = "--disable-external-libs" 21EXTRA_OECONF = "--disable-external-libs"
19 22
20inherit autotools lib_package pkgconfig 23inherit autotools lib_package pkgconfig