qt5base: restructure Makefile a bit (only cosmetics)
authorMirko Vogt <[email protected]>
Mon, 9 Aug 2021 15:19:48 +0000 (15:19 +0000)
committerMirko Vogt <[email protected]>
Thu, 22 May 2025 10:58:15 +0000 (10:58 +0000)
frameworks/qt5/qt5base/Makefile

index e74f1c3b8312ae2c24fb2974689aa30074b7b630..1034b49dec1a7ebd968d37c30869707ff6e12a6e 100644 (file)
@@ -85,11 +85,11 @@ define Package/qt5base/Default
   MAINTAINER:=Mirko Vogt <[email protected]>
 endef
 
-# define Package/qt5base
-  $(call Package/qt5base/Default)
-#   DEPENDS:=
-#   MENU:=1
-endef
+define Package/qt5base-core
+  $(call Package/qt5base/Default)
+  TITLE+=core
+  DEPENDS+=+libpthread +zlib +libzstd +libpcre2-16 +libstdcpp +librt +libdouble-conversion $(ICONV_DEPENDS) +PACKAGE_icu:icu #FIXME: do not include ICONV_DEPENDS if ICU is selected (though, that's only an issue when using GNU iconv)
+endef
 
 define Package/qt5base-concurrent
   $(call Package/qt5base/Default)
@@ -103,12 +103,6 @@ define Package/qt5base-gl
   DEPENDS+=+qt5base-core +qt5base-gui +qt5base-widgets @BROKEN
 endef
 
-define Package/qt5base-core
-  $(call Package/qt5base/Default)
-  TITLE+=core
-  DEPENDS+=+libpthread +zlib +libzstd +libpcre2-16 +libstdcpp +librt +libdouble-conversion $(ICONV_DEPENDS) +PACKAGE_icu:icu #FIXME: do not include ICONV_DEPENDS if ICU is selected (though, that's only an issue when using GNU iconv)
-endef
-
 define Package/qt5base-gui
   $(call Package/qt5base/Default)
   TITLE+=gui
@@ -537,6 +531,10 @@ define Package/qt5base-core/install
        $(call Build/Install/Libs,$(1),libQt5Core)
 endef
 
+define Package/qt5base-concurrent/install
+       $(call Build/Install/Libs,$(1),libQt5Concurrent)
+endef
+
 define Package/qt5base-gl/install
        $(call Build/Install/Libs,$(1),libQt5OpenGL)
 endef
@@ -642,8 +640,8 @@ define Package/qt5base-examples/install
 endef
 
 # $(eval $(call BuildPackage,qt5base))
-$(eval $(call BuildPackage,qt5base-concurrent))
 $(eval $(call BuildPackage,qt5base-core))
+$(eval $(call BuildPackage,qt5base-concurrent))
 $(eval $(call BuildPackage,qt5base-gui))
 $(eval $(call BuildPackage,qt5base-gl))
 $(eval $(call BuildPackage,qt5base-network))