]>
Commit | Line | Data |
---|---|---|
accb1901 TG |
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 | ||
d5659d5f TG |
13 | mkdir -p build |
14 | cd build | |
f874ddc9 | 15 | |
d5659d5f TG |
16 | # devscripts needed for dch and dcmd |
17 | dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts | |
f874ddc9 | 18 | |
d5659d5f TG |
19 | command -v git >/dev/null || sudo apt-get install git |
20 | test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git | |
21 | cd mesa | |
22 | git fetch -a -t | |
23 | git reset --hard asahi-20230311 | |
24 | rm -rf debian | |
25 | cp -a ../../mesa-debian debian | |
26 | EMAIL=thomas@glanzmann.de dch -v 23.0.0-`date +%Y%m%d%H%M` 'asahi wip' | |
27 | sudo apt-get build-dep . | |
28 | dpkg-buildpackage -uc -us -a arm64 --build=binary |