X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/67caaebe4a13e02afdc03058fafee1d42104a600..e6f0833d90f5d6f11c8af184432210fe5c2efa93:/mesa.sh?ds=sidebyside diff --git a/mesa.sh b/mesa.sh index c410085..96b97fb 100644 --- a/mesa.sh +++ b/mesa.sh @@ -13,6 +13,10 @@ unset LANG main() { mkdir -p build cd build + + # devscripts needed for dch and dcmd + dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts + command -v git >/dev/null || sudo apt-get install git test -d mesa || git clone https://gitlab.freedesktop.org/asahi/mesa.git cd mesa @@ -21,7 +25,7 @@ main() { cp -a ../../mesa-debian debian EMAIL=thomas@glanzmann.de dch -v 23.0.0-`date +%Y%m%d%H%M` 'asahi wip' sudo apt-get build-dep . - dpkg-buildpackage -uc -us -a arm64 + dpkg-buildpackage -uc -us -a arm64 --build=binary } main "$@"