summaryrefslogtreecommitdiff
path: root/strata/x-generic/mesa-x.morph
blob: a5a5150050170527dfbbdf3e089b3ee2f2cb7fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: mesa-x
kind: chunk
build-system: autotools
configure-commands:
- |
  cpu=$(echo $TARGET | cut -d '-' -f 1)
  case "$cpu" in
  x86_32|x64_64)
    DRIDRIVERS=intel,i915,i965,swrast
    ;;
  *)
    DRIDRIVERS=swrast
    ;;
  esac
  ./autogen.sh --prefix="$PREFIX" \
  --enable-gles2 \
  --disable-gallium-egl \
  --with-egl-platforms=x11,drm \
  --enable-gbm --enable-shared-glapi \
  --with-gallium-drivers=swrast \
  --with-dri-drivers=$DRIDRIVERS