mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/sonata: Updated for version 1.6.2.1
This commit is contained in:
parent
e01fa8c30a
commit
c46246d1a9
4 changed files with 25 additions and 24 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue