package/quazip: enable for qt6

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Zoltan Gyarmati 2023-08-09 19:15:01 +02:00 committed by Thomas Petazzoni
parent 46f1cd6fe3
commit 6ca42939d6
2 changed files with 11 additions and 4 deletions

View File

@ -1,8 +1,9 @@
config BR2_PACKAGE_QUAZIP
bool "quazip"
depends on BR2_PACKAGE_QT5
depends on BR2_PACKAGE_QT5 || BR2_PACKAGE_QT6
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB
select BR2_PACKAGE_QT6CORE5COMPAT if BR2_PACKAGE_QT6
help
QuaZIP is a simple C++ wrapper over Gilles Vollant's
ZIP/UNZIP package that can be used to access ZIP

View File

@ -7,9 +7,15 @@
QUAZIP_VERSION = 1.4
QUAZIP_SITE = $(call github,stachenov,quazip,v$(QUAZIP_VERSION))
QUAZIP_INSTALL_STAGING = YES
QUAZIP_DEPENDENCIES = \
zlib \
qt5base
QUAZIP_DEPENDENCIES = zlib
ifeq ($(BR2_PACKAGE_QT5BASE),y)
QUAZIP_DEPENDENCIES += qt5base
endif
ifeq ($(BR2_PACKAGE_QT6BASE),y)
QUAZIP_DEPENDENCIES += qt6base qt6core5compat
endif
QUAZIP_LICENSE = LGPL-2.1
QUAZIP_LICENSE_FILES = COPYING
QUAZIP_CPE_ID_VENDOR = quazip_project