mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
package/zbar: add the optional imagemagick dependency
When ImageMagick is selected, the "zbarimg" program is compiled and installed on target. It allows to decode a QR code from an image file. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b29fe22257
commit
84ad5c22d0
@@ -18,7 +18,6 @@ ZBAR_CONF_ENV = \
|
||||
LIBS=$(TARGET_NLS_LIBS)
|
||||
ZBAR_CONF_OPTS = \
|
||||
--disable-doc \
|
||||
--without-imagemagick \
|
||||
--without-qt \
|
||||
--without-qt5 \
|
||||
--without-gtk \
|
||||
@@ -32,6 +31,13 @@ else
|
||||
ZBAR_CONF_OPTS += --without-dbus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y)
|
||||
ZBAR_DEPENDENCIES += imagemagick
|
||||
ZBAR_CONF_OPTS += --with-imagemagick
|
||||
else
|
||||
ZBAR_CONF_OPTS += --without-imagemagick
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
ZBAR_DEPENDENCIES += host-python3 python3
|
||||
ZBAR_CONF_OPTS += --with-python=python3
|
||||
|
||||
Reference in New Issue
Block a user