]> cvs.zerfleddert.de Git - m1-debian/blame_incremental - mesa.sh
Merge branch 'master' of a.gmvl.de:/git/m1-debian
[m1-debian] / mesa.sh
... / ...
CommitLineData
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 mkdir -p build
15 cd build
16
17 # devscripts needed for dch and dcmd
18 dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts
19
20 command -v git >/dev/null || sudo apt-get install git
21 test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
22 cd mesa
23 git fetch -a -t
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
29}
30
31main "$@"
Impressum, Datenschutz