diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-15 18:54:34 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:25 +0700 |
commit | f8bab189d7e7930ebdaf791521e359255290f558 (patch) | |
tree | d6810a3bc07f19e1b6c7447b1eac02e031afddeb /libraries/SDL2_mixer | |
parent | 720849e2f994fc005d1c3e8f946d1407b79ed0ec (diff) |
libraries/SDL2_mixer: new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/SDL2_mixer')
-rw-r--r-- | libraries/SDL2_mixer/README | 2 | ||||
-rw-r--r-- | libraries/SDL2_mixer/SDL2_mixer.SlackBuild | 15 | ||||
-rw-r--r-- | libraries/SDL2_mixer/SDL2_mixer.info | 4 |
3 files changed, 11 insertions, 10 deletions
diff --git a/libraries/SDL2_mixer/README b/libraries/SDL2_mixer/README index 5d39240c6769..c0d858829b37 100644 --- a/libraries/SDL2_mixer/README +++ b/libraries/SDL2_mixer/README @@ -1,3 +1,5 @@ +SDL2_mixer (sample multi-channel audio mixer library) + SDL2_mixer is a sample multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16-bit stereo audio, plus a single channel of music. diff --git a/libraries/SDL2_mixer/SDL2_mixer.SlackBuild b/libraries/SDL2_mixer/SDL2_mixer.SlackBuild index ff3d6cb3238d..dbeb3f64efd3 100644 --- a/libraries/SDL2_mixer/SDL2_mixer.SlackBuild +++ b/libraries/SDL2_mixer/SDL2_mixer.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for SDL2_mixer # Copyright 2013-2015 Dugan Chen Canada +# Copyright 2020 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,6 +23,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20200415 bkw: +# - take over maintenance + PRGNAM=SDL2_mixer VERSION=${VERSION:-2.0.4} BUILD=${BUILD:-2} @@ -63,14 +67,12 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="-Wl,-s" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -84,9 +86,6 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cp -a playmus.c playwave.c $PKG/usr/doc/$PRGNAM-$VERSION/examples diff --git a/libraries/SDL2_mixer/SDL2_mixer.info b/libraries/SDL2_mixer/SDL2_mixer.info index 23ba1784baff..d2806c3ec44a 100644 --- a/libraries/SDL2_mixer/SDL2_mixer.info +++ b/libraries/SDL2_mixer/SDL2_mixer.info @@ -6,5 +6,5 @@ MD5SUM="a36e8410cac46b00a4d01752b32c3eb1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SDL2" -MAINTAINER="Dugan Chen" -EMAIL="thedoogster [at] gmail [dot] com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" |