2019-06-27 09:19:50 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-07-06 15:10:14 +00:00
|
|
|
patch -p1 < mesa-no-gettext.patch
|
|
|
|
|
2019-08-03 16:36:34 +00:00
|
|
|
export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
|
|
|
|
|
2019-06-27 18:36:01 +00:00
|
|
|
meson \
|
2019-06-27 09:19:50 +00:00
|
|
|
--prefix=/usr \
|
2019-06-27 09:25:10 +00:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--localstatedir=/var \
|
2019-06-27 18:36:01 +00:00
|
|
|
--buildtype=release \
|
2019-08-03 16:36:34 +00:00
|
|
|
-Dglx-use-tls=false \
|
2019-06-27 18:56:54 +00:00
|
|
|
-Dplatforms=x11,drm \
|
2019-06-27 18:36:01 +00:00
|
|
|
. output
|
|
|
|
|
|
|
|
ninja -C output
|
|
|
|
|
|
|
|
DESTDIR="$1" ninja -C output install
|