From a2163e3ab2d184702eeb1c4f7c0c9bed6d178206 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 12 Feb 2020 21:51:35 +0000 Subject: Wed Feb 12 21:51:35 UTC 2020 a/aaa_terminfo-6.2-x86_64-1.txz: Upgraded. d/git-2.25.0-x86_64-2.txz: Rebuilt. Fixed uncompressed Git.3pm man page. Thanks to Xsane. d/gnucobol-2.2-x86_64-3.txz: Rebuilt. Fixed uncompressed man pages. Thanks to Xsane. l/libarchive-3.4.2-x86_64-1.txz: Upgraded. This update includes security fixes in the RAR5 reader. (* Security fix *) l/ncurses-6.2-x86_64-1.txz: Upgraded. l/sdl-1.2.15-x86_64-8.txz: Rebuilt. Added SDL_sound-1.0.3. n/ModemManager-1.12.6-x86_64-1.txz: Upgraded. n/NetworkManager-1.22.6-x86_64-2.txz: Rebuilt. Fixed hardlinked/uncompressed man pages. Thanks to Xsane. n/dovecot-2.3.9.3-x86_64-1.txz: Upgraded. testing/packages/PAM/dovecot-2.3.9.3-x86_64-1_pam.txz: Upgraded. Fixed missing /etc/pam.d/dovecot. --- source/l/sdl/sdl.SlackBuild | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) (limited to 'source/l/sdl/sdl.SlackBuild') diff --git a/source/l/sdl/sdl.SlackBuild b/source/l/sdl/sdl.SlackBuild index ff8164ea7..1f79c32df 100755 --- a/source/l/sdl/sdl.SlackBuild +++ b/source/l/sdl/sdl.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2013, 2016, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2011, 2013, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,9 +27,10 @@ VERSION=${VERSION:-$(echo SDL-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | IMAGE=${IMAGE:-$(echo SDL_image-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} MIXER=${MIXER:-$(echo SDL_mixer-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} NET=${NET:-$(echo SDL_net-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +SOUND=${SOUND:-$(echo SDL_sound-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} TTF=${TTF:-$(echo SDL_ttf-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-7} +BUILD=${BUILD:-8} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -231,7 +232,6 @@ rm -rf SDL_ttf-$TTF tar xf $CWD/SDL_ttf-$TTF.tar.?z* || exit 1 cd SDL_ttf-$TTF || exit 1 -#zcat $CWD/SDL_ttf-2.0.8-noftinternals.diff.gz | patch -p1 --verbose || exit 1 zcat $CWD/SDL_ttf.shaded.text.diff.gz | patch -p1 --verbose || exit 1 chown -R root:root . @@ -252,10 +252,35 @@ CFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -mkdir -p $PKG/usr/doc/SDL_ttf-$TTF +# Add SDL_sound: +cd $TMP +rm -rf SDL_sound-$SOUND +tar xf $CWD/SDL_sound-$SOUND.tar.?z* || exit 1 +cd SDL_sound-$SOUND || exit 1 + +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 {} \+ + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --mandir=/usr/man \ + --enable-shared=yes \ + --enable-static=no || exit 1 + +make $NUMJOBS || make || exit 1 +make install DESTDIR=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/SDL_sound-$SOUND cp -a \ - CHANGES COPYING README \ - $PKG/usr/doc/SDL_ttf-$TTF + CHANGES COPYING CREDITS README TODO \ + $PKG/usr/doc/SDL_sound-$SOUND # Remove .la files from the package and the system (due to make install): pushd $PKG -- cgit v1.2.3-65-gdbad