aboutsummaryrefslogtreecommitdiff
path: root/package/zbar/zbar.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/zbar/zbar.mk')
-rw-r--r--package/zbar/zbar.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/zbar/zbar.mk b/package/zbar/zbar.mk
index c3f0797c55..2146aee85b 100644
--- a/package/zbar/zbar.mk
+++ b/package/zbar/zbar.mk
@@ -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
@@ -25,4 +25,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))