From 416b5e13f9105736f467e4c27ee3b6ed25ded196 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 12 May 2025 01:20:17 +0000 Subject: [PATCH] qt5base: expand Install/Plugins func in qmake.mk Allow installing all plugins via wildcard ("*") --- frameworks/qt5/qt5base/files/qmake.mk | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/frameworks/qt5/qt5base/files/qmake.mk b/frameworks/qt5/qt5base/files/qmake.mk index 3ced010..8a98d06 100644 --- a/frameworks/qt5/qt5base/files/qmake.mk +++ b/frameworks/qt5/qt5base/files/qmake.mk @@ -201,12 +201,19 @@ define Build/Install/Translations endef define Build/Install/Plugins - $(INSTALL_DIR) \ - $(1)/$(QT_INSTALL_PLUGINS)/$(2) - - $(CP) \ - $(PKG_INSTALL_DIR)/$(QT_INSTALL_PLUGINS)/$(2)/$(3).so* \ - $(1)/$(QT_INSTALL_PLUGINS)/$(2)/ + if [ "$(2)" = '*' ]; then \ + $(INSTALL_DIR) \ + $(1)/$(QT_INSTALL_PLUGINS) ; \ + $(CP) \ + $(PKG_INSTALL_DIR)/$(QT_INSTALL_PLUGINS)/$(2) \ + $(1)/$(QT_INSTALL_PLUGINS)/ ; \ + else \ + $(INSTALL_DIR) \ + $(1)/$(QT_INSTALL_PLUGINS)/$(2) ; \ + $(CP) \ + $(PKG_INSTALL_DIR)/$(QT_INSTALL_PLUGINS)/$(2)/$(3).so* \ + $(1)/$(QT_INSTALL_PLUGINS)/$(2)/ ; \ + fi endef define Build/Install/Examples -- 2.30.2