diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild index 02776b1eb5..cb4ab7f0d4 100644 --- a/libraries/libgdiplus/libgdiplus.SlackBuild +++ b/libraries/libgdiplus/libgdiplus.SlackBuild @@ -2,8 +2,9 @@ # Slackware build script for libgdiplus -# Copyright 2006 Martin Lefebvre -# Copyright 2017 Andre Barboza +# Copyright 2023 Steven Voges +# Copyright 2017 Andre Barboza +# Copyright 2006 Martin Lefebvre # 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 105a05f1cc..5ed1dbe360 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 d8a11bb743..5cb8ae8d3a 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: +libgdiplus: C-based implementation of the GDI+ API +libgdiplus: +libgdiplus: Homepage: https://github.com/mono/libgdiplus libgdiplus: libgdiplus: libgdiplus: