python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / bluez_utils / bluez_utils.mk
blob1c93f2e5f5a96c665b2fd14c899217e5a5c1b171
1 ################################################################################
3 # bluez_utils
5 ################################################################################
7 BLUEZ_UTILS_VERSION = 4.101
8 BLUEZ_UTILS_SOURCE = bluez-$(BLUEZ_UTILS_VERSION).tar.xz
9 BLUEZ_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
10 BLUEZ_UTILS_INSTALL_STAGING = YES
11 BLUEZ_UTILS_DEPENDENCIES = dbus libglib2
12 BLUEZ_UTILS_CONF_OPTS = --enable-test --enable-tools
13 BLUEZ_UTILS_AUTORECONF = YES
14 BLUEZ_UTILS_LICENSE = GPLv2+, LGPLv2.1+
15 BLUEZ_UTILS_LICENSE_FILES = COPYING COPYING.LIB
17 # BlueZ 3.x compatibility
18 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_COMPAT),y)
19 BLUEZ_UTILS_CONF_OPTS += \
20 --enable-hidd \
21 --enable-pand \
22 --enable-sdp \
23 --enable-dund
24 endif
26 # audio support
27 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_AUDIO),y)
28 BLUEZ_UTILS_DEPENDENCIES += \
29 alsa-lib \
30 libsndfile
31 BLUEZ_UTILS_CONF_OPTS += \
32 --enable-alsa \
33 --enable-audio
34 else
35 BLUEZ_UTILS_CONF_OPTS += \
36 --disable-alsa \
37 --disable-audio
38 endif
40 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_GATT),y)
41 BLUEZ_UTILS_DEPENDENCIES += readline
42 BLUEZ_UTILS_CONF_OPTS += --enable-gatt
43 else
44 BLUEZ_UTILS_CONF_OPTS += --disable-gatt
45 endif
47 # USB support
48 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_USB),y)
49 BLUEZ_UTILS_DEPENDENCIES += libusb
50 BLUEZ_UTILS_CONF_OPTS += \
51 --enable-usb
52 else
53 BLUEZ_UTILS_CONF_OPTS += \
54 --disable-usb
55 endif
57 ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
58 BLUEZ_UTILS_CONF_OPTS += --disable-pie
59 endif
61 $(eval $(autotools-package))