aboutsummaryrefslogtreecommitdiff
path: root/audio/gimmix/gimmix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gimmix/gimmix.SlackBuild')
-rw-r--r--audio/gimmix/gimmix.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/audio/gimmix/gimmix.SlackBuild b/audio/gimmix/gimmix.SlackBuild
index 4aa0c5918d86e..9926e2e1b78c9 100644
--- a/audio/gimmix/gimmix.SlackBuild
+++ b/audio/gimmix/gimmix.SlackBuild
@@ -3,17 +3,15 @@
# Slackware build script for gimmix
# Written by Kristaps Esterlins <esterlinsh[at]gmail.com>
-PRGNAM=gimmix
-VERSION=0.5.3
+PRGNAM=gimmix
+VERSION=0.5.7.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -52,6 +50,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix curl includes.
+patch -p1 -i $CWD/gimmix-0.5.7.1-curl-headers.patch
+
# Replace "enable" with "disable" -cover and -lyrics if you do not
# want to have built in plugins for cover and lyrics fetching.
CFLAGS="$SLKCFLAGS" \
@@ -71,13 +72,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+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
cp -a \