Skip to contentSkip to conversation

package/qt5/qt5base: add zstd optional dependency

PATCH Applied Fabrice Fontaine 3 participants 3 messages Nov 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qt5/qt5base: add zstd optional dependency

zstd is an optional dependency which is enabled by default since version 5.13.0 and
https://github.com/qt/qtbase/commit/f25bc30d8d9d13fffd34213dfbf5e7373a18222a

---
 package/qt5/qt5base/qt5base.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/qt5/qt5base/qt5base.mk +7 -0
index 9da3de468a..b04d710d78 100644
@@ -116,6 +116,13 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-cups
 endif
 
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+QT5BASE_DEPENDENCIES += zstd
+QT5BASE_CONFIGURE_OPTS += -zstd
+else
+QT5BASE_CONFIGURE_OPTS += -no-zstd
+endif
+
 # Qt5 SQL Plugins
 ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y)
 ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y)
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/1
#1 lore raw

Hello Fabrice,

Quoted 5 lines · Fabrice Fontaine

zstd is an optional dependency which is enabled by default since version 5.13.0 and
https://github.com/qt/qtbase/commit/f25bc30d8d9d13fffd34213dfbf5e7373a18222a

qt5base-5.15.2/config.summary 2021-11-14 13:16:42.818139194 +0100 renamed from qt5base-5.15.2_orig/config.summary 2021-11-14 00:00:33.698378466 +0100 +1 -1
@@ -30,7 +30,7 @@
   Using pkg-config ....................... yes
   udev ................................... no
   Using system zlib ...................... yes
-  Zstandard support ...................... no
+  Zstandard support ...................... yes
 
 

Regards,
Peter

Quoted 12 lines
---
 package/qt5/qt5base/qt5base.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/qt5/qt5base/qt5base.mk +0 -0
index 9da3de468a..b04d710d78 100644
@@ -116,6 +116,13 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-cups
 endif
 

package/qt5/qt5base/qt5base.mk else · line 128

Quoted 10 lines
package/qt5/qt5base/qt5base.mk +7 -0
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+QT5BASE_DEPENDENCIES += zstd
+QT5BASE_CONFIGURE_OPTS += -zstd
+else
+QT5BASE_CONFIGURE_OPTS += -no-zstd
+endif
+
 # Qt5 SQL Plugins
 ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y)
 ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Fabrice Fontaine
Quoted 8 lines · On Sun, 14 Nov 2021 11:15:54 +0100 Fabrice Fontaine…

zstd is an optional dependency which is enabled by default since version 5.13.0 and
https://github.com/qt/qtbase/commit/f25bc30d8d9d13fffd34213dfbf5e7373a18222a

---
 package/qt5/qt5base/qt5base.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to next, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot