# # Copyright (C) 2020 Openwrt.org # # This is free software, licensed under the Apache License, Version 2.0 . # include $(TOPDIR)/rules.mk PKG_NAME:=qtbase PKG_VERSION:=6.3.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/qt/qtbase/tar.gz/v$(PKG_VERSION)? PKG_HASH:=95b78830a99f417ff34ee784ab78f5eeb7bb12adb16d137c3026434c44a904dd HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DEPENDS:=qtbase/host PKG_BUILD_PARALLEL:=1 PKG_USE_MIPS16:=0 PKG_CPE_ID:=cpe:/a:qt:qt CMAKE_INSTALL:=1 # Force to use strip instead of sstrip STRIP:=$(TARGET_CROSS)strip $(call qstrip,$(CONFIG_STRIP_ARGS)) include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk define Package/qtbase/Default SECTION:=libs CATEGORY:=Libraries SUBMENU:=Qt6 TITLE:=qtbase URL:=http://qt-project.org DEPENDS:=+icu +libc +libgcc +libstdcpp +USE_GLIBC:librt +USE_GLIBC:libpthread @!LINUX_2_6_36 @!(ARM&&CPU_32v4) endef define Package/qtbase/description This package provides the Qt6 libraries. Qt is a cross-platform application development framework for desktop, embedded and mobile. Supported Platforms include Linux, OS X, Windows, VxWorks, QNX, Android, iOS, BlackBerry, Sailfish OS and others. Qt is not a programming language on its own. It is a framework written in C++. This package provides the following run-time libraries: - core - network - xml - sql endef define Package/qtbase $(call Package/qtbase/Default) HIDDEN:=1 endef define Package/qtbase/config menu "qtbase" comment "Qtbase Libraries" $(foreach lib,$(QTBASE_LIBS), config PACKAGE_libqt6$(lib) tristate "libqt6$(lib)" default m if ALL help $(Package/libqt6$(lib)/description) ) endmenu endef #LBITS = $(shell $(TARGET_CC) -dM -E -