summaryrefslogtreecommitdiffstats
path: root/package/libqrencode/libqrencode.mk
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-05-29 19:22:37 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-05-29 21:38:48 +0200
commit4e4dd94dec988557c07bc7c30f12acf5e5a61489 (patch)
treedbc0aca80031640525f8e2c8eb6a5ea085a1e325 /package/libqrencode/libqrencode.mk
parenta853849e4d50ef7e126a1da524be37aeb878a6de (diff)
downloadbuildroot-4e4dd94dec988557c07bc7c30f12acf5e5a61489.tar.gz
buildroot-4e4dd94dec988557c07bc7c30f12acf5e5a61489.zip
libqrencode: bump to version 4.0.0
- Use new --with[out]-png option - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libqrencode/libqrencode.mk')
-rw-r--r--package/libqrencode/libqrencode.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/libqrencode/libqrencode.mk b/package/libqrencode/libqrencode.mk
index 8f17b895e0..62ca2ed11d 100644
--- a/package/libqrencode/libqrencode.mk
+++ b/package/libqrencode/libqrencode.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBQRENCODE_VERSION = 3.4.2
+LIBQRENCODE_VERSION = 4.0.0
LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
LIBQRENCODE_DEPENDENCIES = host-pkgconf
@@ -18,9 +18,15 @@ else
LIBQRENCODE_CONF_OPTS += --disable-thread-safety
endif
+ifeq ($(BR2_PACKAGE_LIBPNG),y)
+LIBQRENCODE_CONF_OPTS += --with-png
+LIBQRENCODE_DEPENDENCIES += libpng
+else
+LIBQRENCODE_CONF_OPTS += --without-png
+endif
+
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
LIBQRENCODE_CONF_OPTS += --with-tools=yes
-LIBQRENCODE_DEPENDENCIES += libpng
else
LIBQRENCODE_CONF_OPTS += --with-tools=no
endif
OpenPOWER on IntegriCloud