2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 16:30:04 -07:00
repo/xorg/mesa/build

21 lines
439 B
Plaintext
Raw Normal View History

2019-06-27 03:19:50 -06:00
#!/bin/sh -e
2019-08-03 10:36:34 -06:00
export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
2019-08-03 15:32:53 -06:00
# Fix issues with musl and firefox.
# See: https://bugs.freedesktop.org/show_bug.cgi?id=35268
sed -i "/pre_args += '-DGLX_USE_TLS'/d" meson.build
2019-06-27 12:36:01 -06:00
meson \
2019-06-27 03:19:50 -06:00
--prefix=/usr \
2019-06-27 03:25:10 -06:00
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
2019-06-27 12:36:01 -06:00
--buildtype=release \
2019-06-27 12:56:54 -06:00
-Dplatforms=x11,drm \
2019-06-27 12:36:01 -06:00
. output
ninja -C output
DESTDIR="$1" ninja -C output install