audio/gimmix: Updated for version 0.5.7.1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-02 19:15:41 -04:00
parent 515f91e595
commit a59518de73
3 changed files with 35 additions and 12 deletions

View file

@ -0,0 +1,24 @@
diff --git a/src/gimmix-covers.c b/src/gimmix-covers.c
index f2524c4..2dc37f3 100644
--- a/src/gimmix-covers.c
+++ b/src/gimmix-covers.c
@@ -29,7 +29,6 @@
#include <glib.h>
#include <glib/gstdio.h>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <nxml.h>
#include <libxml/xmlreader.h>
diff --git a/src/gimmix-lyrics.c b/src/gimmix-lyrics.c
index ff58954..01990e2 100644
--- a/src/gimmix-lyrics.c
+++ b/src/gimmix-lyrics.c
@@ -30,7 +30,6 @@
#include <nxml.h>
#include <glib/gstdio.h>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <libxml/xmlreader.h>
#include "gimmix-lyrics.h"

View file

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

View file

@ -1,8 +1,8 @@
PRGNAM="gimmix"
VERSION="0.5.3"
VERSION="0.5.7.1"
HOMEPAGE="http://gimmix.berlios.de/"
DOWNLOAD="http://download.berlios.de/gimmix/gimmix-0.5.3.tar.bz2"
MD5SUM="3b190ef8e56f8887595d2dc0eeffe3cc"
DOWNLOAD="http://downloads.sourceforge.net/project/gimmix.berlios/gimmix-0.5.7.1.tar.bz2"
MD5SUM="d89f3d6a80a85e9e6f34f9abd2614c15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmpd libnxml"