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>
This commit is contained in:
Steven Voges 2023-03-31 21:08:12 +01:00 committed by Willy Sudiarto Raharjo
parent e169baf2b5
commit c9653a1b75
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 24 additions and 17 deletions

View file

@ -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

View file

@ -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"

View file

@ -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:
libgdiplus: C-based implementation of the GDI+ API
libgdiplus:
libgdiplus: Homepage: https://github.com/mono/libgdiplus
libgdiplus:
libgdiplus:
libgdiplus: