aboutsummaryrefslogtreecommitdiff
path: root/xorg/mesa/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/mesa/build')
-rwxr-xr-xxorg/mesa/build16
1 files changed, 16 insertions, 0 deletions
diff --git a/xorg/mesa/build b/xorg/mesa/build
new file mode 100755
index 00000000..8441ca95
--- /dev/null
+++ b/xorg/mesa/build
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
+
+meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dplatforms=x11,drm \
+ . output
+
+ninja -C output
+ninja -C output install