multimedia/xmms2: Updated for version 0.2DrJekyll

This commit is contained in:
Kyle Guinn 2010-05-11 19:45:45 +02:00 committed by Robby Workman
parent 34a25ea70f
commit 61d98bf983
4 changed files with 36 additions and 29 deletions

View file

@ -5,6 +5,5 @@ maintain and integrate with. In terms of the listening experience, XMMS2
makes it possible for anyone to easily manage their music collection and to
interact with it in a flexible manner.
To compile this package, you will need SQLite and SCons, both of which
are also available from SlackBuilds.org
To compile this package, you will need SQLite, which is also available
from SlackBuilds.org.

View file

@ -1,4 +1,12 @@
xmms2: XMMS2
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
xmms2: XMMS2 (XMMS2 music player)
xmms2:
xmms2: XMMS2 is the next generation of XMMS. The XMMS2 team is committed
xmms2: to producing a better music player, while diligently maintaining a

View file

@ -3,15 +3,16 @@
# Slackware build script for xmms2
# Written by Kyle Guinn <elyk03@gmail.com>
# Modified by the SlackBuilds.org project
# Updated by Rainer Wittmaack <ningo@gmx.net>
VERSION="0.2DrHouse"
PRGNAM=xmms2
VERSION="0.2DrJekyll"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-xmms2
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
@ -20,23 +21,23 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf xmms2-$VERSION
tar -xjvf $CWD/xmms2-$VERSION.tar.bz2 || exit 1
cd xmms2-$VERSION || exit 1
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
scons \
PREFIX=/usr \
CCFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
|| exit 1
scons \
INSTALLDIR=$PKG \
install || exit 1
export CCFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
./waf configure --prefix=/usr
./waf
./waf install --destdir=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@ -44,16 +45,15 @@ scons \
)
# The man pages are pre-gzipped, we don't have to do that here.
# However, we do need to move them to the proper location.
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/xmms2-$VERSION
cp -a AUTHORS COPYING* INSTALL README TODO $PKG/usr/doc/xmms2-$VERSION
cat $CWD/xmms2.SlackBuild > $PKG/usr/doc/xmms2-$VERSION/xmms2.SlackBuild
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
# Permissions fix: This file is executable when it shouldn't be.
chmod -x $PKG/usr/include/xmms2/xmmsclient/xmmsclient++/dict.h
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/xmms2-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -1,8 +1,8 @@
PRGNAM="xmms2"
VERSION="0.2DrHouse"
VERSION="0.2DrJekyll"
HOMEPAGE="http://wiki.xmms2.xmms.se/"
DOWNLOAD="http://prdownloads.sourceforge.net/xmms2/xmms2-0.2DrHouse.tar.bz2"
MD5SUM="8f7293b21bd6cb28e7705559a9deab10"
DOWNLOAD="http://downloads.sourceforge.net/xmms2/xmms2-0.2DrJekyll.tar.bz2"
MD5SUM="768de76a98b6a9766cec157ff0a12543"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
APPROVED="rworkman"