From 7aad5150f69da42b84994c353283db5daf8e967f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sun, 26 Nov 2017 23:40:38 +0000 Subject: Add BuildStream converted files This is made by a conversion made in commit 8f8992a18d55c3abf28d4b6fc8036bd39d3dc1cf of definitions Check there to know what exact versions of YBD and defs2bst was used --- elements/mesa-common/libepoxy.bst | 14 ++++++++++++++ elements/mesa-common/mesa.bst | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 elements/mesa-common/libepoxy.bst create mode 100644 elements/mesa-common/mesa.bst (limited to 'elements/mesa-common') diff --git a/elements/mesa-common/libepoxy.bst b/elements/mesa-common/libepoxy.bst new file mode 100644 index 00000000..b083c5d5 --- /dev/null +++ b/elements/mesa-common/libepoxy.bst @@ -0,0 +1,14 @@ +kind: autotools +depends: +- foundation.bst +- llvm-common.bst +- libdrm-common.bst +- wayland-generic.bst +- python2-core.bst +- x-common.bst +- mesa-common/mesa.bst +sources: +- kind: git + url: upstream:libepoxy + track: v1.3.1 + ref: e2c33af5bfcfc9d168f9e776156dd47c33f428b3 diff --git a/elements/mesa-common/mesa.bst b/elements/mesa-common/mesa.bst new file mode 100644 index 00000000..18db3186 --- /dev/null +++ b/elements/mesa-common/mesa.bst @@ -0,0 +1,35 @@ +kind: autotools +depends: +- foundation.bst +- llvm-common.bst +- libdrm-common.bst +- wayland-generic.bst +- python2-core.bst +- x-common.bst +sources: +- kind: git + url: upstream:mesa + track: mesa-17.1.3 + ref: f60875e211388e299724063af40c01738cc5d819 +config: + configure-commands: + - | + cpu=$(echo $(gcc -dumpmachine) | cut -d '-' -f 1) + case "$cpu" in + arm*) + DRIDRIVERS=no + GALLIUMDRIVERS=nouveau,freedreno,svga,swrast,vc4 + VULKANDRIVERS=no + ;; + *) + DRIDRIVERS=yes + GALLIUMDRIVERS=r300,svga,swrast,virgl,swr + VULKANDRIVERS=intel + ;; + esac + ./autogen.sh --prefix="%{prefix}" --sysconfdir=/etc \ + --enable-gles2 \ + --with-egl-platforms=drm,wayland,x11 \ + --with-vulkan-drivers="$VULKANDRIVERS" \ + --with-gallium-drivers="$GALLIUMDRIVERS" \ + --with-dri-drivers="$DRIDRIVERS" -- cgit v1.2.1