aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2024-02-02 15:53:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-02 16:56:44 +0700
commit5454d1f73716f9021754b3a0f7f56254fafa65eb (patch)
tree139b8b9a58a17856268e3ed1198719ef4ec6c3e5
parenta2b021d78d338cca7e53bb5f287b6a164435defb (diff)
libraries/libgig: Updated for version 4.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libgig/libgig.SlackBuild19
-rw-r--r--libraries/libgig/libgig.info6
-rw-r--r--libraries/libgig/slack-desc2
3 files changed, 13 insertions, 14 deletions
diff --git a/libraries/libgig/libgig.SlackBuild b/libraries/libgig/libgig.SlackBuild
index 9c325c1df8228..90d0fcddda86f 100644
--- a/libraries/libgig/libgig.SlackBuild
+++ b/libraries/libgig/libgig.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for libgig
# Written by Michales Michaloudes korgie@gmail.com
-# Copyright 2019 Johannes Schoepfer, Germany
+# Copyright 2019-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libgig
-VERSION=${VERSION:-4.3.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.4.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,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
@@ -77,9 +74,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -92,6 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
+# prevent excessive overlinking due to libtool
+sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make install DESTDIR=$PKG
@@ -101,13 +100,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION/
cp -a \
- AUTHORS COPYING ChangeLog INSTALL TODO README NEWS \
+ AUTHORS COPYING ChangeLog TODO README NEWS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libgig/libgig.info b/libraries/libgig/libgig.info
index b03445a2c2709..86c25f44c8f18 100644
--- a/libraries/libgig/libgig.info
+++ b/libraries/libgig/libgig.info
@@ -1,8 +1,8 @@
PRGNAM="libgig"
-VERSION="4.3.0"
+VERSION="4.4.0"
HOMEPAGE="https://www.linuxsampler.org/libgig/"
-DOWNLOAD="https://download.linuxsampler.org/packages/libgig-4.3.0.tar.bz2"
-MD5SUM="3795e8c7eb5f6dfb806f71180e8c5690"
+DOWNLOAD="https://download.linuxsampler.org/packages/libgig-4.4.0.tar.bz2"
+MD5SUM="1c32b869c6495559e6ee0769ccd8c87f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libgig/slack-desc b/libraries/libgig/slack-desc
index 4dc78ecdedacf..5ac6eb6bccac0 100644
--- a/libraries/libgig/slack-desc
+++ b/libraries/libgig/slack-desc
@@ -11,7 +11,7 @@ libgig:
libgig: C++ library for loading, modifying and creating .gig, .ksf, .kmp,
libgig: .sf2 and DLS files.
libgig:
-libgig: Homepage: https://www.linuxsampler.org/libgig/
+libgig: https://www.linuxsampler.org/libgig/
libgig:
libgig:
libgig: