summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libgdiplus/libgdiplus.SlackBuild12
-rw-r--r--libraries/libgdiplus/libgdiplus.info10
2 files changed, 11 insertions, 11 deletions
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild
index ab080072b8..1b1c3948e3 100644
--- a/libraries/libgdiplus/libgdiplus.SlackBuild
+++ b/libraries/libgdiplus/libgdiplus.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for libgdiplus
# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
+# Copyright 2017 Andre Barboza <bmg.andre@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,16 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
PRGNAM=libgdiplus
-VERSION=${VERSION:-4.2}
+VERSION=${VERSION:-5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/libraries/libgdiplus/libgdiplus.info b/libraries/libgdiplus/libgdiplus.info
index 2098b9c6b8..26b465ed12 100644
--- a/libraries/libgdiplus/libgdiplus.info
+++ b/libraries/libgdiplus/libgdiplus.info
@@ -1,10 +1,10 @@
PRGNAM="libgdiplus"
-VERSION="4.2"
+VERSION="5.4"
HOMEPAGE="http://www.go-mono.org"
-DOWNLOAD="http://origin-download.mono-project.com/sources/libgdiplus/libgdiplus-4.2.tar.gz"
-MD5SUM="3e68075aa0911d5ebc2b3739e85af0ea"
+DOWNLOAD="https://github.com/mono/libgdiplus/archive/5.4/libgdiplus-5.4.tar.gz"
+MD5SUM="900a68e2e97e45a62011b79a623ce324"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Sebastián Salazar Molina"
-EMAIL="sebastian@sebastian.cl"
+MAINTAINER="Andre Barboza"
+EMAIL="bmg.andre@gmail.com"