diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-15 18:54:11 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:25 +0700 |
commit | 720849e2f994fc005d1c3e8f946d1407b79ed0ec (patch) | |
tree | 9eb0c40d29b7a81d71e7ad1731ba44c0252d3d96 | |
parent | a1d0533597fb5d3c423c23eb12a9d44b04282d54 (diff) |
libraries/SDL2_image: Updated for version 2.0.5, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/SDL2_image/README | 2 | ||||
-rw-r--r-- | libraries/SDL2_image/SDL2_image.SlackBuild | 21 | ||||
-rw-r--r-- | libraries/SDL2_image/SDL2_image.info | 10 |
3 files changed, 17 insertions, 16 deletions
diff --git a/libraries/SDL2_image/README b/libraries/SDL2_image/README index efd18ed49ec3..29cb3e06336c 100644 --- a/libraries/SDL2_image/README +++ b/libraries/SDL2_image/README @@ -1,3 +1,5 @@ +SDL2_image (image loading library) + SDL2_image is a simple library to load images of various formats as SDL surfaces. It is safe to install alongside Slackware's SDL libraries. diff --git a/libraries/SDL2_image/SDL2_image.SlackBuild b/libraries/SDL2_image/SDL2_image.SlackBuild index 73562ae808f4..2383fce4aac4 100644 --- a/libraries/SDL2_image/SDL2_image.SlackBuild +++ b/libraries/SDL2_image/SDL2_image.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for SDL2_image # Copyright 2013 Dugan Chen Canada +# Copyright 2020 B. Watson # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,9 +23,13 @@ # 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 +# - update for v2.0.5 + PRGNAM=SDL2_image -VERSION=${VERSION:-2.0.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.0.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,11 +68,8 @@ 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" \ @@ -83,10 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-jpg-shared=no 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 +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/SDL2_image/SDL2_image.info b/libraries/SDL2_image/SDL2_image.info index 755869fb0520..dc9a5639f5ff 100644 --- a/libraries/SDL2_image/SDL2_image.info +++ b/libraries/SDL2_image/SDL2_image.info @@ -1,10 +1,10 @@ PRGNAM="SDL2_image" -VERSION="2.0.4" +VERSION="2.0.5" HOMEPAGE="https://www.libsdl.org/projects/SDL_image/" -DOWNLOAD="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz" -MD5SUM="88b9766d5b64a67f82ba511c57e7ce10" +DOWNLOAD="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.tar.gz" +MD5SUM="f26f3a153360a8f09ed5220ef7b07aea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SDL2" -MAINTAINER="Dugan Chen" -EMAIL="thedoogster [at] gmail [dot] com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" |