package/grantlee: enable building for Qt6
Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
7c4f3014ef
commit
698c9f12c4
2 changed files with 12 additions and 4 deletions
|
|
@ -1,8 +1,10 @@
|
|||
config BR2_PACKAGE_GRANTLEE
|
||||
bool "grantlee"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5
|
||||
select BR2_PACKAGE_QT5SCRIPT
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
depends on (BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5) || BR2_PACKAGE_QT6
|
||||
select BR2_PACKAGE_QT5SCRIPT if BR2_PACKAGE_QT5
|
||||
select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
|
||||
select BR2_PACKAGE_QT6BASE_GUI if BR2_PACKAGE_QT6
|
||||
select BR2_PACKAGE_QT6DECLARATIVE if BR2_PACKAGE_QT6
|
||||
help
|
||||
Qt implementation of the Django template framework
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,12 @@ GRANTLEE_SITE = $(call github,steveire,grantlee,v$(GRANTLEE_VERSION))
|
|||
GRANTLEE_INSTALL_STAGING = YES
|
||||
GRANTLEE_LICENSE = LGPL-2.1+
|
||||
GRANTLEE_LICENSE_FILES = COPYING.LIB
|
||||
GRANTLEE_DEPENDENCIES = qt5base qt5script
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE),y)
|
||||
GRANTLEE_DEPENDENCIES += qt5base qt5script
|
||||
else ifeq ($(BR2_PACKAGE_QT6BASE),y)
|
||||
GRANTLEE_DEPENDENCIES += qt6base qt6declarative
|
||||
GRANTLEE_CONF_OPTS += -DGRANTLEE_BUILD_WITH_QT6=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue