slackware-current/testing/source/mesa/get-mesa.sh
Patrick J Volkerding eab537ba73 Sun Dec 22 03:52:10 UTC 2024
a/userspace-rcu-0.15.0-x86_64-1.txz:  Upgraded.
ap/nano-8.3-x86_64-1.txz:  Upgraded.
d/luajit-2.1.1734355927-x86_64-1.txz:  Upgraded.
x/mesa-24.2.8-x86_64-1.txz:  Upgraded.
  We'll use this more stable branch in the main tree for a while.
x/wayland-protocols-1.39-noarch-1.txz:  Upgraded.
xap/gnuplot-6.0.2-x86_64-1.txz:  Upgraded.
xfce/xfce4-screensaver-4.18.4-x86_64-1.txz:  Upgraded.
xfce/xfce4-session-4.20.0-x86_64-3.txz:  Rebuilt.
  startxfce4: call labwc with --session. Thanks to nikybiasionoru_82.
testing/packages/mesa-24.3.2-x86_64-1.txz:  Added.
  Moved Mesa 24.3 into /testing.
2024-12-22 06:09:38 +01:00

20 lines
720 B
Bash
Executable file

# Pull a stable branch + patches
BRANCH=7.10
rm -rf mesa
git clone git://anongit.freedesktop.org/git/mesa/mesa
# package the source archive and clean up:
( cd mesa
git checkout $BRANCH || exit 1
)
HEADISAT="$(cat mesa/.git/packed-refs | grep "refs/remotes/origin/${BRANCH}$" | cut -b1-7)"
# Cleanup. We're not packing up the whole git repo.
( cd mesa && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
DATE=$(date +%Y%m%d)
mv mesa mesa-${BRANCH}_${HEADISAT}
tar cf mesa-${BRANCH}_${HEADISAT}.tar mesa-${BRANCH}_${HEADISAT}
xz -9 mesa-${BRANCH}_${HEADISAT}.tar
rm -rf mesa-${BRANCH}_${HEADISAT}
echo
echo "Mesa branch $BRANCH with HEAD at $HEADISAT packaged as mesa-${BRANCH}_${HEADISAT}.tar.xz"
echo