]> cvs.zerfleddert.de Git - m1-debian/blob - mesa.sh
313462bb9a7b446cdfbdb53e148c2ff9a8acbacd
[m1-debian] / mesa.sh
1 #!/usr/bin/env bash
2
3 set -o errexit
4 set -o nounset
5 set -o pipefail
6 set -o xtrace
7
8 cd "$(dirname "$0")"
9
10 unset LC_CTYPE
11 unset LANG
12
13 main() {
14 mkdir -p build
15 cd build
16 command -v git >/dev/null || sudo apt-get install git
17 test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
18 cd mesa
19 git fetch -a -t
20 rm -rf debian
21 cp -a ../../mesa-debian debian
22 sudo apt-get build-dep .
23 dpkg-buildpackage -uc -us -a arm64
24 }
25
26 main "$@"
Impressum, Datenschutz