Zbar now has a dbus API which we should enable when dbus is present.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
# Locally computed:
-sha256 94c71c6110c705f07ba5ba2803583d09b3853e8773169c86bdcf831443156aaa zbar-57d601e82089f2f31de9e1683c3834f237421f5d.tar.gz
+sha256 7eb73c180c787184ede0f98806c52b23eb9c24609673e1ed51210504ea2937f5 zbar-681b0f305fb5c5bb0df8437f7d740b29a93a7889.tar.gz
sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 LICENSE
#
################################################################################
-ZBAR_VERSION = 57d601e82089f2f31de9e1683c3834f237421f5d
+ZBAR_VERSION = 681b0f305fb5c5bb0df8437f7d740b29a93a7889
ZBAR_SITE = git://linuxtv.org/zbar.git
ZBAR_LICENSE = LGPL-2.1+
ZBAR_LICENSE_FILES = LICENSE
--without-x \
--without-java
+ifeq ($(BR2_PACKAGE_DBUS),y)
+ZBAR_DEPENDENCIES += dbus
+ZBAR_CONF_OPTS += --with-dbus
+else
+ZBAR_CONF_OPTS += --without-dbus
+endif
+
$(eval $(autotools-package))