qt5/common: official module names don't contain dashes
authorMirko Vogt <[email protected]>
Sun, 18 May 2025 21:12:57 +0000 (21:12 +0000)
committerMirko Vogt <[email protected]>
Thu, 22 May 2025 10:58:15 +0000 (10:58 +0000)
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)

frameworks/qt5/common.mk

index cdb360cba9ef37cfc8f5da8ddd6ad9f6f1959ffd..b4c694e622f85d31243ef275396feb9ff3644f07 100644 (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