mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
bluez4: make alsa support conditional upon DISTRO_FEATURES
Do not enable alsa in bluez4 unless it's included in DISTRO_FEATURES. (From OE-Core rev: 36e434ecd05754d8c99d416f706da4a1b11b729e) Signed-off-by: Jonas Danielsson <jonas.danielsson@lundinova.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b8909556e3
commit
898e1bfbe8
@@ -7,9 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
|
||||
file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
|
||||
file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \
|
||||
file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191"
|
||||
DEPENDS = "udev alsa-lib libusb dbus-glib glib-2.0 libcheck"
|
||||
DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck"
|
||||
RDEPENDS_${PN}-dev = "bluez-hcidump"
|
||||
|
||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
|
||||
PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
|
||||
|
||||
ASNEEDED = ""
|
||||
|
||||
SRC_URI = "\
|
||||
@@ -21,7 +24,6 @@ inherit autotools
|
||||
|
||||
EXTRA_OECONF = "\
|
||||
--disable-gstreamer \
|
||||
--enable-alsa \
|
||||
--enable-usb \
|
||||
--enable-tools \
|
||||
--enable-bccmd \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require bluez4.inc
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI += "file://bluetooth.conf \
|
||||
file://sbc_mmx.patch \
|
||||
@@ -19,6 +19,7 @@ do_install_append() {
|
||||
|
||||
RDEPENDS_${PN}-dev = "bluez-hcidump"
|
||||
|
||||
ALLOW_EMPTY_libasound-module-bluez = "1"
|
||||
PACKAGES =+ "libasound-module-bluez"
|
||||
|
||||
FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
|
||||
|
||||
Reference in New Issue
Block a user