X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage4%2Fpkg%2FMesaLib;h=de43784a1f3f0c759aff9e513aa0ffc7d5856365;hb=70abb7e53164cf84ffc6b794c37c4f74ff21b4f8;hp=95e4634f4cd37d6790fe2894b3212f9b8827d95d;hpb=673ca97602256b0a0cf35771873ed1083e129f91;p=hvlinux.git diff --git a/stage4/pkg/MesaLib b/stage4/pkg/MesaLib index 95e4634..de43784 100644 --- a/stage4/pkg/MesaLib +++ b/stage4/pkg/MesaLib @@ -2,17 +2,14 @@ hvconfig_pre() { - local DRI_OPTS="--with-dri-drivers=swrast" local GAL_OPTS="--with-gallium-drivers=svga,swrast" if [ -n "${XORG_VIDEO_DRIVER}" ]; then case "${XORG_VIDEO_DRIVER}" in nouveau) - DRI_OPTS+=",nouveau" GAL_OPTS+=",nouveau" ;; intel) - DRI_OPTS+=",i915,i965" GAL_OPTS+=",i915" ;; esac @@ -22,19 +19,18 @@ hvconfig_pre() --enable-texture-float \ --enable-gles1 \ --enable-gles2 \ + --enable-openvg \ + --enable-osmesa \ --enable-xa \ - --enable-shared-glapi \ - --enable-shared-dricore \ + --enable-gbm \ + --enable-gallium-egl \ + --enable-gallium-gbm \ --enable-glx-tls \ - ${DRI_OPTS} \ + --with-egl-platforms="drm,x11" \ ${GAL_OPTS} \ ${XORG_CONFIG}" # Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS # and CXXFLAGS with this command: sed 's@FLAGS=\"-g@FLAGS=\"@' -i ${LFS_TMP}/${PACKAGE}/configure - - # Revert effect of automatically applying blfs patch for xdemos (this patch - # causes a compilation bug with a missing GL/gl.h include) - sed 's@^\(SUBDIRS = src\) xdemos@\1@' -i ${LFS_TMP}/${PACKAGE}/Makefile }