]> cvs.zerfleddert.de Git - m1-debian/blame - mesa.sh
use the right compiler and prepare for crosscompiling
[m1-debian] / mesa.sh
CommitLineData
accb1901
TG
1#!/usr/bin/env bash
2
3set -o errexit
4set -o nounset
5set -o pipefail
6set -o xtrace
7
8cd "$(dirname "$0")"
9
10unset LC_CTYPE
11unset LANG
12
13main() {
14 sudo apt-get build-dep mesa
15 cd build
16 test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
17 cd mesa
18 git fetch -a -t
19 rm -rf debian
20 cp -a ../../mesa-debian debian
21 fakeroot debian/rules binary
22}
23
24main "$@"
Impressum, Datenschutz