mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
6e6f0c6efb
a/tcsh-6.24.14-x86_64-1.txz: Upgraded. ap/sudo-1.9.16p2-x86_64-1.txz: Upgraded. n/netatalk-4.0.7-x86_64-2.txz: Rebuilt. Fixed config file handling. Thanks to marav. n/openldap-2.6.9-x86_64-1.txz: Upgraded. t/texlive-2024.240409-x86_64-3.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. x/dejavu-fonts-ttf-2.37-noarch-7.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. x/font-bh-ttf-1.0.4-noarch-2.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. x/fontconfig-2.15.0-x86_64-1.txz: Upgraded. Thanks to Didier Spaier for the updated patches and meson build script! x/liberation-fonts-ttf-2.1.5-noarch-2.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. x/noto-cjk-fonts-ttf-2.001-noarch-4.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. x/ttf-indic-fonts-0.5.14-noarch-6.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. x/ttf-tlwg-0.7.3-noarch-2.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. x/wqy-zenhei-font-ttf-0.8.38_1-noarch-10.txz: Rebuilt. Move files from /etc/fonts/conf.avail to /usr/share/fontconfig/fonts.avail. xap/xlockmore-5.81-x86_64-1.txz: Upgraded. testing/packages/mesa-24.3.0-x86_64-1.txz: Added.
45 lines
1.6 KiB
Bash
Executable file
45 lines
1.6 KiB
Bash
Executable file
#!/bin/bash
|
|
# This script is not meant to be run directly:
|
|
if [ -z $DEMOVERS ]; then
|
|
exit 1
|
|
fi
|
|
|
|
# Now build/install a small subset of the demos:
|
|
export CWD SLKCFLAGS NUMJOBS PKG
|
|
( cd $TMP
|
|
rm -rf mesa-demos-$DEMOVERS
|
|
tar xvf $CWD/mesa-demos-$DEMOVERS.tar.?z* || exit 1
|
|
cd mesa-demos-$DEMOVERS
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \+ -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \+
|
|
# Architecture-specific settings can be configured in the mesa.SlackBuild
|
|
# within the variable 'SLK_MESADEMOS_CONF_OPTS'
|
|
CFLAGS="$SLKCFLAGS" \
|
|
./configure \
|
|
$SLK_MESADEMOS_CONF_OPTS \
|
|
--enable-autotools \
|
|
--prefix=/usr \
|
|
--build=$ARCH-slackware-linux || exit 1
|
|
make $NUMJOBS || exit 1
|
|
# Install all the demos (including the pointless ones) at first, in a
|
|
# temporary location:
|
|
make install DESTDIR=$PKG/cruft || exit 1
|
|
# Install gears and glinfo, as well as a few other demos:
|
|
mkdir -p $PKG/usr/bin
|
|
MESA_DEMO_BINS="${MESA_DEMO_BINS:=eglinfo gears glinfo glthreads glxcontexts glxdemo \
|
|
glxgears glxgears_fbconfig glxheads glxinfo glxpbdemo glxpixmap}"
|
|
# Install the demo:
|
|
for demo in $MESA_DEMO_BINS ; do
|
|
mv --verbose $PKG/cruft/usr/bin/$demo $PKG/usr/bin
|
|
done
|
|
# Remove cruft:
|
|
rm -rf $PKG/cruft
|
|
# Add the README file(s):
|
|
rm -rf $PKG/usr/doc/mesa-demos-$DEMOVERS
|
|
mkdir -p $PKG/usr/doc/mesa-demos-$DEMOVERS
|
|
cp -a README* $PKG/usr/doc/mesa-demos-$DEMOVERS
|
|
) || exit 1
|