X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/bd6b7cc75138d319f2536d54eeb6b94df5d17a8e..fc6942318aad43400a4e06b4bb8ec97218d75de4:/mesa.sh diff --git a/mesa.sh b/mesa.sh index 24cce78..4240088 100644 --- a/mesa.sh +++ b/mesa.sh @@ -10,23 +10,24 @@ cd "$(dirname "$0")" unset LC_CTYPE unset LANG -main() { - mkdir -p build - cd build +mkdir -p build +cd build - # devscripts needed for dch and dcmd - dpkg -s devscripts >/dev/null 2>&1 || sudo apt-get install devscripts +# 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 --build=binary -} - -main "$@" +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 +# 17:17 also for mesa, use the latest versioned tag I made, *not* any +# live branch. mesa and kernel live branches are not kept in sync. generally +# the latest mesa tag will be in sync with the latest kernel tag and usually +# also the latest live kernel (except when I'm about to do a release) +# 17:18 if those two desync it'll refuse to initialize +git reset --hard asahi-20230321 +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