diff options
author | Cem Keylan <cem@ckyln.com> | 2021-02-08 03:47:37 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-02-08 03:47:37 +0300 |
commit | 57bdb1fa3c7a51a6abe99300a47a31f5f76c3f11 (patch) | |
tree | 65536ba46260779dc390eab5862fdfccce9d3cb3 /xorg/mesa/build | |
parent | e68872ecc834663bd76331025fe298918485db48 (diff) | |
download | repository-57bdb1fa3c7a51a6abe99300a47a31f5f76c3f11.tar.gz |
mesa: move to extra
Diffstat (limited to 'xorg/mesa/build')
-rwxr-xr-x | xorg/mesa/build | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/xorg/mesa/build b/xorg/mesa/build deleted file mode 100755 index 62c7a81b..00000000 --- a/xorg/mesa/build +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh -e - -# Temporarily install python-mako to build mesa -( - cd mako - - python3 setup.py build - python3 setup.py install \ - --prefix=/usr \ - --root="$PWD/dist" - -) - -read -r _ pyver <<-EOF -$(python3 --version) -EOF - -PYTHONPATH="$PWD/mako/dist/usr/lib/python${pyver%.*}/site-packages:$(python -c "import sys; print(':'.join(sys.path))")" - -export PYTHONPATH -export DESTDIR="$1" -export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS" - -# Fix issues with musl and firefox. -# https://bugs.freedesktop.org/show_bug.cgi?id=35268 -# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2 -sed "/pre_args += '-DUSE_ELF_TLS'/d" meson.build >_ -cat _ > meson.build; rm -f _ - -python3 bin/git_sha1_gen.py --output include/git_sha1.h - -meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --buildtype=release \ - -Dplatforms=x11 \ - . output - -ninja -C output -ninja -C output install |