package/libzip: bump version to 1.6.1
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 20 Apr 2020 18:14:30 +0000 (20:14 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 20 Apr 2020 21:22:27 +0000 (23:22 +0200)
Use new upstream URL libzip.org.

Add optional dependency to liblzma introduced with version 1.6.0:
https://libzip.org/news/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libzip/Config.in
package/libzip/libzip.hash
package/libzip/libzip.mk

index c6ddabe6b5e98d9d1b1910e466e6e08f8b64e9a7..a603d9abf1d23a271d14969788f93162528bcd05 100644 (file)
@@ -8,7 +8,7 @@ config BR2_PACKAGE_LIBZIP
          This package also contains zipcmp, ziptorrent and zipmerge
          utilities.
 
-         http://www.nih.at/libzip/
+         https://libzip.org/
 
 comment "libzip needs a toolchain w/ dynamic library"
        depends on BR2_STATIC_LIBS
index eb11b526fba5f5c16c53ebbc90e04732323675f8..af4c9db50985047c0f66362a0a5e1a0f7350a8e9 100644 (file)
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 b3de4d4bd49a01e0cab3507fc163f88e1651695b6b9cb25ad174dbe319d4a3b4  libzip-1.5.2.tar.xz
-sha256  04464e729973cf58189051e7a3e8bca2acce9a1058c735e9e2eb1fdbe0fbbf50  LICENSE
+sha256  705dac7a671b3f440181481e607b0908129a9cf1ddfcba75d66436c0e7d33641  libzip-1.6.1.tar.xz
+sha256  af6d9141427cf40b7d1fa6d7f5473b06a7faa9f9b0a2ea588eb6ba7b2e1c8a9e  LICENSE
index a312dd90df2ae8bf6e22118c218d3a4983b2d537..f021e06b6695352b98652167b6ef8f0ebaae744c 100644 (file)
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-LIBZIP_VERSION = 1.5.2
-LIBZIP_SITE = http://www.nih.at/libzip
+LIBZIP_VERSION = 1.6.1
+LIBZIP_SITE = https://libzip.org/download
 LIBZIP_SOURCE = libzip-$(LIBZIP_VERSION).tar.xz
 LIBZIP_LICENSE = BSD-3-Clause
 LIBZIP_LICENSE_FILES = LICENSE
@@ -38,5 +38,12 @@ LIBZIP_DEPENDENCIES += musl-fts
 LIBZIP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lfts
 endif
 
+ifeq ($(BR2_PACKAGE_XZ),y)
+LIBZIP_DEPENDENCIES += xz
+LIBZIP_CONF_OPTS += -DENABLE_LZMA=ON
+else
+LIBZIP_CONF_OPTS += -DENABLE_LZMA=OFF
+endif
+
 $(eval $(cmake-package))
 $(eval $(host-cmake-package))