From: Andreas Henriksson Date: Fri, 9 Dec 2022 19:48:32 +0000 (+0000) Subject: mesa.sh: various minor changes X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/4cad82863d614f160c8a5af0fac316ce9b459811 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. --- 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 }