2130694a59
- Add new NLS dependency as well as a patch to fix a build failure
without it
- Drop host-gettext (not needed since autoreconf was dropped with
8729c4ef88
)
- Update indentation in hash file (two spaces)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
36 lines
858 B
Makefile
36 lines
858 B
Makefile
################################################################################
|
|
#
|
|
# zbar
|
|
#
|
|
################################################################################
|
|
|
|
ZBAR_VERSION = 0.23.1
|
|
ZBAR_SOURCE = zbar-$(ZBAR_VERSION).tar.bz2
|
|
ZBAR_SITE = https://www.linuxtv.org/downloads/zbar
|
|
ZBAR_LICENSE = LGPL-2.1+
|
|
ZBAR_LICENSE_FILES = LICENSE.md
|
|
ZBAR_INSTALL_STAGING = YES
|
|
ZBAR_DEPENDENCIES = libv4l jpeg $(TARGET_NLS_DEPENDENCIES)
|
|
# uses C99 features
|
|
ZBAR_CONF_ENV = \
|
|
CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
|
|
LIBS=$(TARGET_NLS_LIBS)
|
|
ZBAR_CONF_OPTS = \
|
|
--disable-doc \
|
|
--without-imagemagick \
|
|
--without-qt \
|
|
--without-qt5 \
|
|
--without-gtk \
|
|
--without-python \
|
|
--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))
|