summaryrefslogtreecommitdiff
path: root/audio/sonata
diff options
context:
space:
mode:
authorAndrew Brouwers <abrouwers@gmail.com>2010-05-13 00:22:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:22:07 +0200
commitc46246d1a96c528df5b95a0f70d11e1fe61a96c1 (patch)
tree363d2ecb104f82fa7d4dc69340c25542a4483991 /audio/sonata
parente01fa8c30a3d537788433fbf013567ddcd50a4fe (diff)
downloadslackbuilds-c46246d1a96c528df5b95a0f70d11e1fe61a96c1.tar.gz
audio/sonata: Updated for version 1.6.2.1
Diffstat (limited to 'audio/sonata')
-rw-r--r--audio/sonata/README5
-rw-r--r--audio/sonata/slack-desc14
-rw-r--r--audio/sonata/sonata.SlackBuild20
-rw-r--r--audio/sonata/sonata.info10
4 files changed, 25 insertions, 24 deletions
diff --git a/audio/sonata/README b/audio/sonata/README
index ad934be4c2..c34942ce2b 100644
--- a/audio/sonata/README
+++ b/audio/sonata/README
@@ -1,5 +1,4 @@
Sonata is an elegant GTK+2 based MPD client.
-As of the 1.5.x series, Sonata requires python-mpd as a runtime
-dependency (however, not necessary to build) - python-mpd is also
-available at slackbuilds.org.
+Sonata requires python-mpd as a runtime dependency (however, it's not
+needed to build sonata) - python-mpd is also available at SlackBuilds.org.
diff --git a/audio/sonata/slack-desc b/audio/sonata/slack-desc
index 3c9cb346a9..399038ff7e 100644
--- a/audio/sonata/slack-desc
+++ b/audio/sonata/slack-desc
@@ -9,11 +9,11 @@
sonata: Sonata (MPD client)
sonata:
sonata: Sonata is an elegant GTK+2 based MPD client.
-sonata:
+sonata:
sonata: Homepage: http://sonata.berlios.de/
-sonata:
-sonata:
-sonata:
-sonata:
-sonata:
-sonata:
+sonata:
+sonata:
+sonata:
+sonata:
+sonata:
+sonata:
diff --git a/audio/sonata/sonata.SlackBuild b/audio/sonata/sonata.SlackBuild
index 8832f8eb75..cf6e3559f3 100644
--- a/audio/sonata/sonata.SlackBuild
+++ b/audio/sonata/sonata.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Sonata
-# Copyright 2008 Andrew Brouwers <abrouwers@gmail.com>
+# Copyright 2008, 2009 Andrew Brouwers <abrouwers@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Robby Workman <rworkman@slackbuilds.org>
-
PRGNAM=sonata
-VERSION=1.6
+VERSION=1.6.2.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG=_SBo}
@@ -37,18 +35,22 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION || exit 1
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -56,9 +58,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-python setup.py install --root=$PKG || exit 1
+python setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr/man
gzip -9 $PKG/usr/man/man?/*
@@ -71,4 +71,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/sonata/sonata.info b/audio/sonata/sonata.info
index 37256c39ff..4f28645254 100644
--- a/audio/sonata/sonata.info
+++ b/audio/sonata/sonata.info
@@ -1,8 +1,10 @@
PRGNAM="sonata"
-VERSION="1.6"
+VERSION="1.6.2.1"
HOMEPAGE="http://sonata.berlios.de/"
-DOWNLOAD="http://download.berlios.de/sonata/sonata-1.6.tar.gz"
-MD5SUM="b162658ff8202433a153ae62d7c8bb47"
+DOWNLOAD="http://download.berlios.de/sonata/sonata-1.6.2.1.tar.gz"
+MD5SUM="0b912325e7175abad3bf6c0edc071e05"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Andrew Brouwers"
EMAIL="abrouwers@gmail.com"
-APPROVED="dsomero"
+APPROVED="rworkman"