80 lines
1.9 KiB
Makefile
80 lines
1.9 KiB
Makefile
|
################################################################################
|
||
|
#
|
||
|
# qt6base
|
||
|
#
|
||
|
################################################################################
|
||
|
|
||
|
QT6BASE_VERSION = $(QT6_VERSION)
|
||
|
QT6BASE_SITE = $(QT6_SITE)
|
||
|
QT6BASE_SOURCE = qtbase-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6BASE_VERSION).tar.xz
|
||
|
QT6BASE_DEPENDENCIES = \
|
||
|
host-ninja \
|
||
|
host-qt6base \
|
||
|
double-conversion \
|
||
|
libb2 \
|
||
|
pcre2 \
|
||
|
zlib
|
||
|
QT6BASE_INSTALL_STAGING = YES
|
||
|
|
||
|
QT6BASE_CONF_OPTS = \
|
||
|
-GNinja \
|
||
|
-DQT_HOST_PATH=$(HOST_DIR) \
|
||
|
-DFEATURE_gui=OFF \
|
||
|
-DFEATURE_concurrent=OFF \
|
||
|
-DFEATURE_xml=OFF \
|
||
|
-DFEATURE_sql=OFF \
|
||
|
-DFEATURE_testlib=OFF \
|
||
|
-DFEATURE_network=OFF \
|
||
|
-DFEATURE_dbus=OFF \
|
||
|
-DFEATURE_icu=OFF \
|
||
|
-DFEATURE_glib=OFF \
|
||
|
-DFEATURE_system_doubleconversion=ON \
|
||
|
-DFEATURE_system_pcre2=ON \
|
||
|
-DFEATURE_system_zlib=ON \
|
||
|
-DFEATURE_system_libb2=ON
|
||
|
|
||
|
define QT6BASE_BUILD_CMDS
|
||
|
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --build $(QT6BASE_BUILDDIR)
|
||
|
endef
|
||
|
|
||
|
define QT6BASE_INSTALL_STAGING_CMDS
|
||
|
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --install $(QT6BASE_BUILDDIR) --prefix $(STAGING_DIR)/usr
|
||
|
endef
|
||
|
|
||
|
define QT6BASE_INSTALL_TARGET_CMDS
|
||
|
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --install $(QT6BASE_BUILDDIR) --prefix $(TARGET_DIR)/usr
|
||
|
endef
|
||
|
|
||
|
HOST_QT6BASE_DEPENDENCIES = \
|
||
|
host-ninja \
|
||
|
host-double-conversion \
|
||
|
host-libb2 \
|
||
|
host-pcre2 \
|
||
|
host-zlib
|
||
|
HOST_QT6BASE_CONF_OPTS = \
|
||
|
-GNinja \
|
||
|
-DFEATURE_gui=OFF \
|
||
|
-DFEATURE_concurrent=OFF \
|
||
|
-DFEATURE_xml=ON \
|
||
|
-DFEATURE_sql=OFF \
|
||
|
-DFEATURE_testlib=OFF \
|
||
|
-DFEATURE_network=OFF \
|
||
|
-DFEATURE_dbus=OFF \
|
||
|
-DFEATURE_icu=OFF \
|
||
|
-DFEATURE_glib=OFF \
|
||
|
-DFEATURE_system_doubleconversion=ON \
|
||
|
-DFEATURE_system_libb2=ON \
|
||
|
-DFEATURE_system_pcre2=ON \
|
||
|
-DFEATURE_system_zlib=ON
|
||
|
|
||
|
define HOST_QT6BASE_BUILD_CMDS
|
||
|
$(HOST_MAKE_ENV) $(BR2_CMAKE) --build $(HOST_QT6BASE_BUILDDIR)
|
||
|
endef
|
||
|
|
||
|
define HOST_QT6BASE_INSTALL_CMDS
|
||
|
$(HOST_MAKE_ENV) $(BR2_CMAKE) --install $(HOST_QT6BASE_BUILDDIR)
|
||
|
endef
|
||
|
|
||
|
$(eval $(cmake-package))
|
||
|
$(eval $(host-cmake-package))
|