summaryrefslogtreecommitdiff
path: root/elements/mesa-common
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-11-26 23:40:38 +0000
committerJavier Jardón <jjardon@gnome.org>2017-12-12 15:58:11 +0000
commit7aad5150f69da42b84994c353283db5daf8e967f (patch)
tree813f30921faea689677aa308bd61488229266d06 /elements/mesa-common
parentfa91b837f4bf46b19678a2c3d6b56f73cdc786a6 (diff)
downloaddefinitions-7aad5150f69da42b84994c353283db5daf8e967f.tar.gz
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
Diffstat (limited to 'elements/mesa-common')
-rw-r--r--elements/mesa-common/libepoxy.bst14
-rw-r--r--elements/mesa-common/mesa.bst35
2 files changed, 49 insertions, 0 deletions
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"