]> cvs.zerfleddert.de Git - m1-debian/blame_incremental - mesa.sh
disable freedreno to be able to compile mesa and add because it is used in pkgbuild...
[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
13mkdir -p build
14cd build
15
16# devscripts needed for dch and dcmd
17dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts
18
19command -v git >/dev/null || sudo apt-get install git
20test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git
21cd mesa
22git fetch -a -t
23git reset --hard asahi-20230311
24rm -rf debian
25cp -a ../../mesa-debian debian
26EMAIL=thomas@glanzmann.de dch -v 23.0.0-`date +%Y%m%d%H%M` 'asahi wip'
27sudo apt-get build-dep .
28dpkg-buildpackage -uc -us -a arm64 --build=binary
Impressum, Datenschutz