summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dugan Chen2016-01-06 12:05:22 +0100
committer Willy Sudiarto Raharjo2016-01-09 01:12:22 +0100
commit111362d71f2439a3783cf611ea3b6058a86f3885 (patch)
treedb5a4eaaf7f8e7dd2e202736e409ee8acbeb823d
parent69e52ebddb4e77698840cb681f5642fec7678efa (diff)
downloadslackbuilds-111362d71f2439a3783cf611ea3b6058a86f3885.tar.gz
libraries/SDL2_image: Updated for version 2.0.1 (from Development).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/SDL2_image/pngfix.patch14
-rw-r--r--libraries/SDL2_image/README (renamed from development/SDL2_image/README)0
-rw-r--r--libraries/SDL2_image/SDL2_image.SlackBuild (renamed from development/SDL2_image/SDL2_image.SlackBuild)10
-rw-r--r--libraries/SDL2_image/SDL2_image.info (renamed from development/SDL2_image/SDL2_image.info)4
-rw-r--r--libraries/SDL2_image/slack-desc (renamed from development/SDL2_image/slack-desc)0
5 files changed, 6 insertions, 22 deletions
diff --git a/development/SDL2_image/pngfix.patch b/development/SDL2_image/pngfix.patch
deleted file mode 100644
index c93abc6514..0000000000
--- a/development/SDL2_image/pngfix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -rupN SDL2_image-2.0.0.orig/IMG_png.c SDL2_image-2.0.0/IMG_png.c
---- SDL2_image-2.0.0.orig/IMG_png.c 2013-08-10 10:38:36.000000000 -0700
-+++ SDL2_image-2.0.0/IMG_png.c 2014-01-13 09:33:32.569432897 -0800
-@@ -68,8 +68,8 @@
- #include <png.h>
-
- /* Check for the older version of libpng */
--#if (PNG_LIBPNG_VER_MAJOR == 1)
--#if (PNG_LIBPNG_VER_MINOR < 4)
-+#if (PNG_LIBPNG_VER_MAJOR == 1)
-+#if (PNG_LIBPNG_VER_MINOR < 5)
- #define LIBPNG_VERSION_12
- typedef png_bytep png_const_bytep;
- #endif
diff --git a/development/SDL2_image/README b/libraries/SDL2_image/README
index a63388362c..a63388362c 100644
--- a/development/SDL2_image/README
+++ b/libraries/SDL2_image/README
diff --git a/development/SDL2_image/SDL2_image.SlackBuild b/libraries/SDL2_image/SDL2_image.SlackBuild
index 49e211e65d..9f0a672fc9 100644
--- a/development/SDL2_image/SDL2_image.SlackBuild
+++ b/libraries/SDL2_image/SDL2_image.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=SDL2_image
-VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.0.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -67,10 +67,7 @@ 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 {} \;
-
-# To allow for compiling with png support.
-patch -p1 --verbose < $CWD/pngfix.patch
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -80,6 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --enable-static=no \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
diff --git a/development/SDL2_image/SDL2_image.info b/libraries/SDL2_image/SDL2_image.info
index ff373fb90b..274cdf8d57 100644
--- a/development/SDL2_image/SDL2_image.info
+++ b/libraries/SDL2_image/SDL2_image.info
@@ -1,8 +1,8 @@
PRGNAM="SDL2_image"
VERSION="2.0.0"
HOMEPAGE="http://www.libsdl.org/projects/SDL_image/"
-DOWNLOAD="http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.0.tar.gz"
-MD5SUM="fb399c8386fb3248f1b33cfe81bdf92b"
+DOWNLOAD="http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz"
+MD5SUM="d94b94555ba022fa249a53a021dc3606"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2"
diff --git a/development/SDL2_image/slack-desc b/libraries/SDL2_image/slack-desc
index 8786262b0a..8786262b0a 100644
--- a/development/SDL2_image/slack-desc
+++ b/libraries/SDL2_image/slack-desc