aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorSteven Voges <svoges.sbo@gmail.com>2023-03-31 21:08:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-01 09:14:17 +0700
commitc9653a1b75a5969109ef90ca57351c1e0a36576c (patch)
tree1b37c26c26dfbde5ccf477c573191397e2268367 /libraries
parente169baf2b573cf867a2f0865224058f078287c30 (diff)
libraries/libgdiplus: Updated for version 6.1. New maintainer.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libgdiplus/libgdiplus.SlackBuild21
-rw-r--r--libraries/libgdiplus/libgdiplus.info14
-rw-r--r--libraries/libgdiplus/slack-desc4
3 files changed, 23 insertions, 16 deletions
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild
index 02776b1eb51bb..cb4ab7f0d4922 100644
--- a/libraries/libgdiplus/libgdiplus.SlackBuild
+++ b/libraries/libgdiplus/libgdiplus.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for libgdiplus
-# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
-# Copyright 2017 Andre Barboza <bmg.andre@gmail.com>
+# Copyright 2023 Steven Voges <Oregon, USA>
+# Copyright 2017 Andre Barboza <bmg.andre@gmail.com>
+# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libgdiplus
-VERSION=${VERSION:-6.0.5}
+VERSION=${VERSION:-6.1}
+GOOGLETEST=${GOOGLETEST:-1.11.0}
+#GOOGLETEST=${GOOGLETEST:-703bd9caab50b139428cea1aaff9974ebee5742e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,6 +50,7 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+DEPS=$TMP/$PRGNAM-$VERSION/external
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -73,6 +74,10 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+tar xvf $CWD/googletest-release-$GOOGLETEST.tar.gz -C \
+ $DEPS/googletest --strip-components 1
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -92,14 +97,14 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux
-
make
make install-strip DESTDIR=$PKG
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS TODO \
+cp -a \
+ *.md docs/* AUTHORS COPYING ChangeLog LICENSE NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libgdiplus/libgdiplus.info b/libraries/libgdiplus/libgdiplus.info
index 105a05f1ccc3d..5ed1dbe360821 100644
--- a/libraries/libgdiplus/libgdiplus.info
+++ b/libraries/libgdiplus/libgdiplus.info
@@ -1,10 +1,12 @@
PRGNAM="libgdiplus"
-VERSION="6.0.5"
-HOMEPAGE="http://www.go-mono.org"
-DOWNLOAD="https://github.com/mono/libgdiplus/archive/6.0.5/libgdiplus-6.0.5.tar.gz"
-MD5SUM="8079300e708c7ea9b4254d4b2eeba463"
+VERSION="6.1"
+HOMEPAGE="https://github.com/mono/libgdiplus"
+DOWNLOAD="https://github.com/mono/libgdiplus/archive/6.1/libgdiplus-6.1.tar.gz \
+ https://github.com/google/googletest/archive/release-1.11.0/googletest-release-1.11.0.tar.gz"
+MD5SUM="b5490be9511269c85dcda0f45f17508b \
+ e8a8df240b6938bb6384155d4c37d937"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/libgdiplus/slack-desc b/libraries/libgdiplus/slack-desc
index d8a11bb743643..5cb8ae8d3a271 100644
--- a/libraries/libgdiplus/slack-desc
+++ b/libraries/libgdiplus/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
libgdiplus: libgdiplus (Open Source implementation of the GDI+ API)
libgdiplus:
-libgdiplus: An Open Source implementation of the GDI+ API.
-libgdiplus: This package is part of the Mono project.
+libgdiplus: C-based implementation of the GDI+ API
libgdiplus:
+libgdiplus: Homepage: https://github.com/mono/libgdiplus
libgdiplus:
libgdiplus:
libgdiplus: