Skip to contentSkip to conversation

package/qt5/qt5base: use the libgbm virtual package

Buildroot Thomas Petazzoni 1 participant 1 message Jan 8, 2022

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=0ba2ee0b7a756c6499febf30f7db0346f2c1e6f2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Now that we have a libgbm virtual package, it makes sense to use it to replace the open-coded list of gbm providers in qt5base. All of mesa3d, gcnano-binaries, ti-sgx-um and imx-gpu-viv are libgbm providers now.

---
 package/qt5/qt5base/qt5base.mk | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
package/qt5/qt5base/qt5base.mk +2 -12
index ec5264bfc9..4db2294ad3 100644
@@ -69,19 +69,9 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-kms
 endif
 
-# Uses libgbm from mesa3d
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
+ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y)
 QT5BASE_CONFIGURE_OPTS += -gbm
-QT5BASE_DEPENDENCIES += mesa3d
-else ifeq ($(BR2_PACKAGE_GCNANO_BINARIES),y)
-QT5BASE_CONFIGURE_OPTS += -gbm
-QT5BASE_DEPENDENCIES += gcnano-binaries
-else ifeq ($(BR2_PACKAGE_TI_SGX_UM),y)
-QT5BASE_CONFIGURE_OPTS += -gbm
-QT5BASE_DEPENDENCIES += ti-sgx-um
-else ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL),y)
-QT5BASE_CONFIGURE_OPTS += -gbm
-QT5BASE_DEPENDENCIES += imx-gpu-viv
+QT5BASE_DEPENDENCIES += libgbm
 else
 QT5BASE_CONFIGURE_OPTS += -no-gbm
 endif

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