diff mbox series

[v1,29/30] package/mesa3d: Add host package.

Message ID 20191205171517.96639-30-michael.drake@codethink.co.uk
State New
Headers show
Series Add Chromium Embedded Framework library | expand

Commit Message

Michael Drake Dec. 5, 2019, 5:15 p.m. UTC
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
---
 package/mesa3d/mesa3d.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox series

Patch

diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index fff498e777..1c0c592f61 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -13,6 +13,23 @@  MESA3D_LICENSE_FILES = docs/license.html
 
 MESA3D_INSTALL_STAGING = YES
 
+HOST_MESA3D_DEPENDENCIES += \
+	host-libdrm \
+	host-libxcb \
+	host-xlib_libX11 \
+	host-xlib_libXext \
+	host-xlib_libXfixes \
+	host-xlib_libXrandr \
+	host-xorgproto
+
+HOST_MESA3D_CONF_OPTS = \
+	-Dplatforms=x11 \
+	-Dgles2=true \
+	-Dglx=xlib \
+	-Dgallium-drivers= \
+	-Dvulkan-drivers= \
+	-Ddri-drivers=
+
 MESA3D_PROVIDES =
 
 MESA3D_DEPENDENCIES = \
@@ -242,3 +259,4 @@  MESA3D_CONF_OPTS += -Dlmsensors=false
 endif
 
 $(eval $(meson-package))
+$(eval $(host-meson-package))