X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/4cad82863d614f160c8a5af0fac316ce9b459811..92b373254ae59c945e697e547309dc50ab0d7a05:/mesa.sh?ds=sidebyside diff --git a/mesa.sh b/mesa.sh index 313462b..24cce78 100644 --- a/mesa.sh +++ b/mesa.sh @@ -13,14 +13,20 @@ 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 git fetch -a -t + git reset --hard origin/main rm -rf debian 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 "$@"