diff options
author | Javier Jardón <jjardon@gnome.org> | 2014-08-28 01:22:11 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-08-28 11:46:22 +0100 |
commit | e0736b45a40321cb8b70ae5d4ff2d46b3dba41d4 (patch) | |
tree | e105e0b2d162d3fc2fe9f7de627962c5bafad827 /strata/x-generic/mesa.morph | |
parent | fa35f9272d937f67f73632d7b4b97491c93bd035 (diff) | |
download | definitions-e0736b45a40321cb8b70ae5d4ff2d46b3dba41d4.tar.gz |
Build a unique mesa with wayland and x11 support
Diffstat (limited to 'strata/x-generic/mesa.morph')
-rw-r--r-- | strata/x-generic/mesa.morph | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/strata/x-generic/mesa.morph b/strata/x-generic/mesa.morph new file mode 100644 index 00000000..38078d12 --- /dev/null +++ b/strata/x-generic/mesa.morph @@ -0,0 +1,21 @@ +name: mesa +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,wayland \ + --enable-gbm --enable-shared-glapi \ + --with-gallium-drivers=swrast \ + --with-dri-drivers=$DRIDRIVERS |