From 4cad82863d614f160c8a5af0fac316ce9b459811 Mon Sep 17 00:00:00 2001 From: Andreas Henriksson Date: Fri, 9 Dec 2022 19:48:32 +0000 Subject: [PATCH] mesa.sh: various minor changes - install build-deps from the local debian/control file rather than from what the apt sources.list says about the mesa package. --- mesa.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mesa.sh b/mesa.sh index 222ad64..313462b 100644 --- a/mesa.sh +++ b/mesa.sh @@ -11,13 +11,15 @@ unset LC_CTYPE unset LANG main() { - sudo apt-get build-dep mesa + mkdir -p build cd build + command -v git >/dev/null || sudo apt-get install git test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git cd mesa git fetch -a -t rm -rf debian cp -a ../../mesa-debian debian + sudo apt-get build-dep . dpkg-buildpackage -uc -us -a arm64 } -- 2.39.2