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:00:24 +0100 |
commit | af593b5a3a8e1e552b34ca2785894ac468763024 (patch) | |
tree | 238def59567e01ef8fffbb09b80a31f93ddd9a5a /meta/recipes-multimedia | |
parent | 78821b3a893c8934d0f0f54df46cdbbc37f082d8 (diff) | |
download | openembedded-core-af593b5a3a8e1e552b34ca2785894ac468763024.tar.gz openembedded-core-af593b5a3a8e1e552b34ca2785894ac468763024.tar.bz2 openembedded-core-af593b5a3a8e1e552b34ca2785894ac468763024.zip |
libsndfile1: use PACKAGECONFIG for alsa distro feature
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Diffstat (limited to 'meta/recipes-multimedia')
-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" DEPENDS = "sqlite3" SECTION = "libs/multimedia" LICENSE = "LGPLv2.1" -PR = "r0" +PR = "r1" SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz" @@ -15,6 +15,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" S = "${WORKDIR}/libsndfile-${PV}" +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" + EXTRA_OECONF = "--disable-external-libs" inherit autotools lib_package pkgconfig |