package/stella: zlib is optional, not mandatory

zlib is optional, not mandatory since version 6.1 and
00e464afc3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-12-07 22:54:19 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent e39d60a982
commit 671eb03b3b
2 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,6 @@ config BR2_PACKAGE_STELLA
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
select BR2_PACKAGE_SDL2
select BR2_PACKAGE_ZLIB
help
Stella is a multi-platform Atari 2600 VCS emulator.

View File

@ -10,7 +10,7 @@ STELLA_SITE = https://github.com/stella-emu/stella/releases/download/$(STELLA_VE
STELLA_LICENSE = GPL-2.0+
STELLA_LICENSE_FILES = Copyright.txt License.txt
STELLA_DEPENDENCIES = sdl2 zlib
STELLA_DEPENDENCIES = sdl2
STELLA_CONF_OPTS = \
--host=$(GNU_TARGET_NAME) \
@ -24,6 +24,13 @@ else
STELLA_CONF_OPTS += --disable-png
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
STELLA_CONF_OPTS += --enable-zip
STELLA_DEPENDENCIES += zlib
else
STELLA_CONF_OPTS += --disable-zip
endif
# The configure script is not autoconf based, so we use the
# generic-package infrastructure
define STELLA_CONFIGURE_CMDS