X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage4%2Fpkg%2FMesaLib;fp=stage4%2Fpkg%2FMesaLib;h=0fc244c2820868d86a24b7cf5e8ef78894e45fd2;hb=0364372bf9bf57502160adc0402e38b8ea235c24;hp=a7068bd2cc8e836726115c863ef0baf2b0c29f4c;hpb=2548ca03b0a338e53aa3c69c207f1ecfc83bd29c;p=hvlinux.git diff --git a/stage4/pkg/MesaLib b/stage4/pkg/MesaLib index a7068bd..0fc244c 100644 --- a/stage4/pkg/MesaLib +++ b/stage4/pkg/MesaLib @@ -2,28 +2,33 @@ hvconfig_pre() { - local DRVPTS="--with-dri-drivers=no" - local GALPTS="--with-gallium-drivers=" + 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) - DRVPTS="--with-dri-drivers=nouveau" - GALPTS="--enable-gallium-nouveau" + DRI_OPTS="${DRI_OPTS},nouveau" + GAL_OPTS="${GAL_OPTS},nouveau" ;; intel) - DRVPTS="--with-dri-drivers=i915,i965" - GALPTS="--enable-gallium-i915 --enable-gallium-i965" + DRI_OPTS="${DRI_OPTS},i915,i965" + GAL_OPTS="${GAL_OPTS},i915,i965" ;; esac fi CONFIGURE_OPTS="\ ${CONFIGURE_OPTS} \ - --enable-motif \ - --enable-xcb \ - ${DRVPTS} \ - ${GALPTS} \ + --enable-texture-float \ + --enable-gles1 \ + --enable-gles2 \ + --enable-xa \ + --enable-shared-glapi \ + --enable-shared-dricore \ + --enable-glx-tls \ + ${DRI_OPTS} \ + ${GAL_OPTS} \ ${XORG_CONFIG}" # Mesa builds with debugging symbols. Remove the -g switch from both CFLAGS