summaryrefslogtreecommitdiff
path: root/repo/x11/mesa.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/x11/mesa.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/x11/mesa.xibuild')
-rw-r--r--repo/x11/mesa.xibuild58
1 files changed, 0 insertions, 58 deletions
diff --git a/repo/x11/mesa.xibuild b/repo/x11/mesa.xibuild
deleted file mode 100644
index 1177345..0000000
--- a/repo/x11/mesa.xibuild
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="meson ninja python-mako libva libvdpau llvm libxxf86vm libelf lm_sensors libexpat libvulkan wayland-protocols"
-DEPS="xorg-libs libdrm"
-
-PKG_VER=21.3.7
-SOURCE=https://mesa.freedesktop.org/archive/mesa-$PKG_VER.tar.xz
-ADDITIONAL="
- 0001-radeonsi-On-Aarch64-force-persistent-buffers-to-GTT.patch
- add-use-elf-tls.patch
- disable-rgb10-by-default.patch
- mesa-21.3.7-add_xdemos-1.patch
- mesa-21.3.7-nouveau_fixes-1.patch
- musl-fix-includes.patch
-"
-
-DESC="An implementation of the OpenGL specification"
-
-prepare () {
- apply_patches
-
- export GALLIUM_DRV="crocus,i915,iris,nouveau,r600,radeonsi,svga,swrast,virgl"
- export DRI_DRIVERS="i965,nouveau"
-}
-
-build () {
- mkdir build &&
- cd build &&
-
- meson --prefix=$XORG_PREFIX \
- --buildtype=release \
- -Ddri-drivers=$DRI_DRIVERS \
- -Dgallium-drivers=$GALLIUM_DRV \
- -Dplatforms=x11,wayland \
- -Dgallium-nine=false \
- -Dglx=dri \
- -Dopengl=true \
- -Dosmesa=true \
- -Dshared-glapi=enabled \
- -Degl=enabled \
- -Dgles1=disabled \
- -Dgles2=disabled \
- -Dvalgrind=disabled \
- -Dlibunwind=disabled \
- .. &&
-
- unset GALLIUM_DRV DRI_DRIVERS &&
-
- ninja -j$JOBS
-
-}
-
-package () {
- DESTDIR=$PKG_DEST ninja install
- install -dm755 $PKG_DEST/usr/share/doc/mesa-$PKG_VER &&
- cp -rf ../docs/* $PKG_DEST/usr/share/doc/mesa-$PKG_VER
-
-}