qt5/common: official module names don't contain dashes

strip '-' from PKG_NAME to determine official module name, but keep them
inside PKG_NAMEs for readibility (same as we still have the major
version number inside PKG_NAMEs)
This commit is contained in:
Mirko Vogt
2025-05-18 21:12:57 +00:00
parent 4d8a328925
commit 7d9d4a9361

View File

@@ -54,7 +54,7 @@ QT_HOSTPKG_DEMOS:=$(QT_HOSTPKG_EXAMPLES)
PKG_VERSION?=5.15.16
PKG_SOURCE_URL?=https://download.qt.io/official_releases/qt/$(basename $(PKG_VERSION))/$(PKG_VERSION)/submodules
PKG_SYS_NAME?=$(subst $(firstword $(subst ., ,$(PKG_VERSION))),,$(PKG_NAME))
PKG_SYS_NAME?=$(subst -,,$(subst $(firstword $(subst ., ,$(PKG_VERSION))),,$(PKG_NAME)))
PKG_SYS_NAME_FULL?=$(PKG_SYS_NAME)-everywhere-src-$(PKG_VERSION)
PKG_SOURCE?=$(subst -src-,-opensource-src-,$(PKG_SYS_NAME_FULL)).tar.xz