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>
This commit is contained in:
Fabrice Fontaine 2018-05-29 19:22:37 +02:00 committed by Peter Korsgaard
parent a853849e4d
commit 4e4dd94dec
2 changed files with 13 additions and 4 deletions

View File

@ -1,2 +1,5 @@
# From http://fukuchi.org/works/qrencode/qrencode-3.4.2.tar.gz.sha1
sha1 7daaad61f333ff6cdabfb0d925c3ab668d16dee2 qrencode-3.4.2.tar.gz
# From http://fukuchi.org/works/qrencode/qrencode-4.0.0.tar.gz.sha
sha512 fdbcee3ef90abf780dcbe495cef3e6ac5449a4a0aaa87d1a1a4f71d97fe6d96974d8132f7e227133cddb5ab73600e968821634752fc0d75113ca0959aae9a5d0 qrencode-4.0.0.tar.gz
# Hash for license file:
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING

View File

@ -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