X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/a035d70aa422aefc011b7f27b5dd36ae12aca921..367c5eee2050d89a9e061771c0536ec770fea100:/mesa.sh?ds=inline diff --git a/mesa.sh b/mesa.sh index 222ad64..df2c7f6 100644 --- a/mesa.sh +++ b/mesa.sh @@ -10,15 +10,19 @@ cd "$(dirname "$0")" unset LC_CTYPE unset LANG -main() { - sudo apt-get build-dep mesa - cd build - 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 - dpkg-buildpackage -uc -us -a arm64 -} +mkdir -p build +cd build -main "$@" +# 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 asahi-20230311 +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 --build=binary