libqrencode: bump to version 4.0.0
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 29 May 2018 17:22:37 +0000 (19:22 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 29 May 2018 19:38:48 +0000 (21:38 +0200)
- 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>
package/libqrencode/libqrencode.hash
package/libqrencode/libqrencode.mk

index 8c94ccd35d177684a7e3c7cb0d7166ed8bb4dca5..1418413135d2452c183f8676813c5ef9edbba340 100644 (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
index 8f17b895e04d05a3a0820fed23818c088a3c9740..62ca2ed11dbb586738d503d1d429ea78b1d5a058 100644 (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