]> cvs.zerfleddert.de Git - m1-debian/blame - mesa.sh
Regressions: alsamixer hangs (i2c-apple 23501c000.i2c: Bus is still stuck (status...
[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() {
4cad8286 14 mkdir -p build
accb1901 15 cd build
f874ddc9
AH
16
17 # devscripts needed for dch and dcmd
18 dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts
19
4cad8286 20 command -v git >/dev/null || sudo apt-get install git
accb1901
TG
21 test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
22 cd mesa
23 git fetch -a -t
bd6b7cc7 24 git reset --hard origin/main
accb1901
TG
25 rm -rf debian
26 cp -a ../../mesa-debian debian
67caaebe 27 EMAIL=thomas@glanzmann.de dch -v 23.0.0-`date +%Y%m%d%H%M` 'asahi wip'
4cad8286 28 sudo apt-get build-dep .
02881133 29 dpkg-buildpackage -uc -us -a arm64 --build=binary
accb1901
TG
30}
31
32main "$@"
Impressum, Datenschutz