X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/accb1901940e0e7dff30dbee35800bb24b0a76bc..e482ee3f59fbc5fedf33f10b0872a3f7587409eb:/mesa.sh diff --git a/mesa.sh b/mesa.sh index 58491b6..94df419 100644 --- a/mesa.sh +++ b/mesa.sh @@ -11,14 +11,21 @@ unset LC_CTYPE unset LANG main() { - sudo apt-get build-dep mesa + 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 git fetch -a -t rm -rf debian cp -a ../../mesa-debian debian - fakeroot debian/rules binary + 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 } main "$@"