2015-10-29 16:49:30 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# zbar
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-03-09 22:32:35 +01:00
|
|
|
ZBAR_VERSION = 0.22
|
|
|
|
ZBAR_SOURCE = zbar-$(ZBAR_VERSION).tar.bz2
|
|
|
|
ZBAR_SITE = https://www.linuxtv.org/downloads/zbar
|
2017-03-30 15:43:34 +02:00
|
|
|
ZBAR_LICENSE = LGPL-2.1+
|
2015-10-29 16:49:30 +01:00
|
|
|
ZBAR_LICENSE_FILES = LICENSE
|
|
|
|
ZBAR_INSTALL_STAGING = YES
|
|
|
|
ZBAR_DEPENDENCIES = libv4l jpeg
|
2016-10-20 18:43:11 +02:00
|
|
|
# add host-gettext for AM_ICONV macro
|
|
|
|
ZBAR_DEPENDENCIES += host-gettext
|
2019-02-27 23:01:00 +01:00
|
|
|
# uses C99 features
|
|
|
|
ZBAR_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
2015-10-29 16:49:30 +01:00
|
|
|
ZBAR_CONF_OPTS = \
|
2019-01-14 14:27:00 +01:00
|
|
|
--disable-doc \
|
2015-10-29 16:49:30 +01:00
|
|
|
--without-imagemagick \
|
|
|
|
--without-qt \
|
2019-01-14 14:27:00 +01:00
|
|
|
--without-qt5 \
|
2015-10-29 16:49:30 +01:00
|
|
|
--without-gtk \
|
2019-01-14 14:27:00 +01:00
|
|
|
--without-python2 \
|
|
|
|
--without-x \
|
|
|
|
--without-java
|
2015-10-29 16:49:30 +01:00
|
|
|
|
2019-02-09 00:46:54 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_DBUS),y)
|
|
|
|
ZBAR_DEPENDENCIES += dbus
|
|
|
|
ZBAR_CONF_OPTS += --with-dbus
|
|
|
|
else
|
|
|
|
ZBAR_CONF_OPTS += --without-dbus
|
|
|
|
endif
|
|
|
|
|
2015-10-29 16:49:30 +01:00
|
|
|
$(eval $(autotools-package))
|