kumquat-buildroot/package/qt6/qt6svg/qt6svg.mk
Thomas Devoogdt ccc49c16bc package/qt6/qt6svg: use the CMAKE_NINJA flag
Use the newly introduce backend option (4cf79d9b71)
to specify what cmake backend to use, instead of special-coding it's use.

Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-08 09:45:43 +02:00

40 lines
943 B
Makefile

################################################################################
#
# qt6svg
#
################################################################################
QT6SVG_VERSION = $(QT6_VERSION)
QT6SVG_SITE = $(QT6_SITE)
QT6SVG_SOURCE = qtsvg-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SVG_VERSION).tar.xz
QT6SVG_INSTALL_STAGING = YES
QT6SVG_SUPPORTS_IN_SOURCE_BUILD = NO
QT6SVG_CMAKE_BACKEND = ninja
QT6SVG_LICENSE = \
GPL-2.0+ or LGPL-3.0, \
GPL-3.0 with exception (tools), \
GFDL-1.3 (docs), \
BSD-3-Clause
QT6SVG_LICENSE_FILES = \
LICENSES/BSD-3-Clause.txt \
LICENSES/GFDL-1.3-no-invariants-only.txt \
LICENSES/GPL-2.0-only.txt \
LICENSES/GPL-3.0-only.txt \
LICENSES/LGPL-3.0-only.txt \
LICENSES/Qt-GPL-exception-1.0.txt
QT6SVG_CONF_OPTS = \
-DQT_HOST_PATH=$(HOST_DIR) \
-DBUILD_WITH_PCH=OFF \
-DQT_BUILD_EXAMPLES=OFF \
-DQT_BUILD_TESTS=OFF
QT6SVG_DEPENDENCIES = \
host-pkgconf \
qt6base
$(eval $(cmake-package))