package/quazip: remove qt4 support

Qt4 support is about to be dropped, so remove the support from quazip as
well.

Also add an explicit depends on for qt5 for consistency with other packages.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Peter Korsgaard 2019-02-06 15:10:56 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent c412f25a70
commit 537948d06b
2 changed files with 3 additions and 9 deletions
package/quazip

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_QUAZIP
bool "quazip"
depends on BR2_PACKAGE_QT5
select BR2_PACKAGE_ZLIB
help
QuaZIP is a simple C++ wrapper over Gilles Vollant's

View File

@ -9,19 +9,12 @@ QUAZIP_SITE = $(call github,stachenov,quazip,$(QUAZIP_VERSION))
QUAZIP_INSTALL_STAGING = YES
QUAZIP_DEPENDENCIES = \
zlib \
$(if $(BR2_PACKAGE_QT),qt) \
$(if $(BR2_PACKAGE_QT5),qt5base)
qt5base
QUAZIP_LICENSE = LGPL-2.1
QUAZIP_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_QT5),y)
QUAZIP_QMAKE = $(QT5_QMAKE)
else
QUAZIP_QMAKE = $(QT_QMAKE)
endif
define QUAZIP_CONFIGURE_CMDS
(cd $(@D); $(TARGET_MAKE_ENV) $(QUAZIP_QMAKE) PREFIX=/usr)
(cd $(@D); $(TARGET_MAKE_ENV) $(QT5_QMAKE) PREFIX=/usr)
endef
define QUAZIP_BUILD_CMDS