package/zziplib: bump version to 0.13.72

Changelog: https://github.com/gdraheim/zziplib/blob/master/ChangeLog

Upstream switched the project to cmake and deprecated automake:
5116d90fef

Removed dependency to host-python3 as it is needed only for tests:
https://github.com/gdraheim/zziplib/blob/master/test/CMakeLists.txt#L21

Remove GNUmakefile to fix build error as the real makefile is Makefile.
GNUnamefile includes files which do not exist after configure and fails
to include Makefile:
https://github.com/gdraheim/zziplib/blob/master/GNUmakefile#L60

Added optional dependency to SDL2.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021.05.x
Bernd Kuhls 2021-01-10 15:45:00 +01:00 committed by Thomas Petazzoni
parent e3cf26dda3
commit 30424ec74b
2 changed files with 17 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# sha256 locally computed
sha256 2ee1e0fbbb78ec7cc46bde5b62857bc51f8d665dd265577cf93584344b8b9de2 zziplib-0.13.71.tar.gz
sha256 93ef44bf1f1ea24fc66080426a469df82fa631d13ca3b2e4abaeab89538518dc zziplib-0.13.72.tar.gz
sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 docs/COPYING.LIB
sha256 c2aa7d58cebd24cb877bbf11d6b13a4bb7cd08b9d7db5d3037ca06c46bf4cfd8 docs/COPYING.MPL
sha256 1c6da11efe8c43ee853fe5b21501dd72b81831ae84d58ea376bddc0620a5c361 docs/copying.htm

View File

@ -4,14 +4,26 @@
#
################################################################################
ZZIPLIB_VERSION = 0.13.71
ZZIPLIB_VERSION = 0.13.72
ZZIPLIB_SITE = $(call github,gdraheim,zziplib,v$(ZZIPLIB_VERSION))
ZZIPLIB_LICENSE = LGPL-2.0+ or MPL-1.1
ZZIPLIB_LICENSE_FILES = docs/COPYING.LIB docs/COPYING.MPL docs/copying.htm
ZZIPLIB_INSTALL_STAGING = YES
ZZIPLIB_CONF_OPTS += \
-DZZIPDOCS=OFF \
-DZZIPTEST=OFF
ZZIPLIB_DEPENDENCIES = host-pkgconf zlib
ZZIPLIB_DEPENDENCIES = host-pkgconf host-python3 zlib
define ZZIPLIB_POST_EXTRACT_FIXUP
rm $(@D)/GNUmakefile
endef
ZZIPLIB_POST_EXTRACT_HOOKS += ZZIPLIB_POST_EXTRACT_FIXUP
ZZIPLIB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3
ifeq ($(BR2_PACKAGE_SDL2),y)
ZZIPLIB_CONF_OPTS += -DZZIPSDL=ON
ZZIPLIB_DEPENDENCIES += sdl2
else
ZZIPLIB_CONF_OPTS += -DZZIPSDL=OFF
endif
$(eval $(autotools-package))
$(eval $(cmake-package))