- install build-deps from the local debian/control file rather than
from what the apt sources.list says about the mesa package.
- sudo apt-get build-dep mesa
+ 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
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
}
dpkg-buildpackage -uc -us -a arm64
}