# Locally calculated:
-sha256 451c99c2045a1ec1ffe0d054be4774fbd01af34d6d1a2757d346d02718381697 bluez-alsa-2.0.0.tar.gz
-sha256 45fe8648faa0e735d4aaf60c32ddd37fc7f027d34ccedcf0f69d8aa961b63b25 LICENSE
+sha256 6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0 bluez-alsa-2.1.0.tar.gz
+sha256 60253922a459245128c34eb379cbda7c76936636d4c10edc576663a0f560dd4d LICENSE
#
################################################################################
-BLUEZ_ALSA_VERSION = 2.0.0
+BLUEZ_ALSA_VERSION = 2.1.0
BLUEZ_ALSA_SITE = $(call github,Arkq,bluez-alsa,v$(BLUEZ_ALSA_VERSION))
BLUEZ_ALSA_LICENSE = MIT
BLUEZ_ALSA_LICENSE_FILES = LICENSE
BLUEZ_ALSA_CONF_OPTS += --disable-ofono
endif
+# no build dependency, enables integration with UPower D-Bus service
+ifeq ($(BR2_PACKAGE_UPOWER),y)
+BLUEZ_ALSA_CONF_OPTS += --enable-upower
+else
+BLUEZ_ALSA_CONF_OPTS += --disable-upower
+endif
+
ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_HCITOP),y)
BLUEZ_ALSA_DEPENDENCIES += libbsd ncurses
BLUEZ_ALSA_CONF_OPTS += --enable-hcitop