2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
repo/xorg/mesa/build
2019-08-03 19:36:34 +03:00

20 lines
353 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < mesa-no-gettext.patch
export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Dglx-use-tls=false \
-Dplatforms=x11,drm \
. output
ninja -C output
DESTDIR="$1" ninja -C output install