package/zbar: bump to version 681b0f305fb5c5bb0df8437f7d740b29a93a7889
authorJames Hilliard <james.hilliard1@gmail.com>
Fri, 8 Feb 2019 23:46:54 +0000 (07:46 +0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 10 Feb 2019 10:35:12 +0000 (11:35 +0100)
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>
package/zbar/zbar.hash
package/zbar/zbar.mk

index 6735bc67d6de5a1b47c4252efb2f0cd7c169fdc1..47a080af12ae5da283541828c6d14ca51138f280 100644 (file)
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256 94c71c6110c705f07ba5ba2803583d09b3853e8773169c86bdcf831443156aaa zbar-57d601e82089f2f31de9e1683c3834f237421f5d.tar.gz
+sha256 7eb73c180c787184ede0f98806c52b23eb9c24609673e1ed51210504ea2937f5 zbar-681b0f305fb5c5bb0df8437f7d740b29a93a7889.tar.gz
 sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 LICENSE
index 6df069e001ff289cb0b4306f0c844f1f2704d269..fea233239f34dfe01981e919d27caffd6fba82a8 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ZBAR_VERSION = 57d601e82089f2f31de9e1683c3834f237421f5d
+ZBAR_VERSION = 681b0f305fb5c5bb0df8437f7d740b29a93a7889
 ZBAR_SITE = git://linuxtv.org/zbar.git
 ZBAR_LICENSE = LGPL-2.1+
 ZBAR_LICENSE_FILES = LICENSE
@@ -23,4 +23,11 @@ ZBAR_CONF_OPTS = \
        --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))