mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
multimedia/xmms2: Initial import
This commit is contained in:
parent
def0c525cd
commit
5cb93568e2
4 changed files with 88 additions and 0 deletions
10
multimedia/xmms2/README
Normal file
10
multimedia/xmms2/README
Normal file
|
@ -0,0 +1,10 @@
|
|||
XMMS2 is the next generation of XMMS. The XMMS2 team is committed to
|
||||
producing a better music player, while diligently maintaining a robust and
|
||||
flexible design. The goal is to make the system easy for developers to
|
||||
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
|
||||
|
11
multimedia/xmms2/slack-desc
Normal file
11
multimedia/xmms2/slack-desc
Normal file
|
@ -0,0 +1,11 @@
|
|||
xmms2: XMMS2
|
||||
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
|
||||
xmms2: robust and flexible design. The goal is to make the system easy
|
||||
xmms2: for developers to maintain and integrate with. In terms of the
|
||||
xmms2: listening experience, XMMS2 makes it possible for anyone to easily
|
||||
xmms2: manage their music collection and to interact with it in a
|
||||
xmms2: flexible manner.
|
||||
xmms2:
|
||||
xmms2:
|
59
multimedia/xmms2/xmms2.SlackBuild
Normal file
59
multimedia/xmms2/xmms2.SlackBuild
Normal file
|
@ -0,0 +1,59 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for xmms2
|
||||
|
||||
# Written by Kyle Guinn <elyk03@gmail.com>
|
||||
# Modified by the SlackBuilds.org project
|
||||
|
||||
VERSION="0.2DrHouse"
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-xmms2
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
# The man pages are pre-gzipped, we don't have to do that here.
|
||||
|
||||
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/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
|
8
multimedia/xmms2/xmms2.info
Normal file
8
multimedia/xmms2/xmms2.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="xmms2"
|
||||
VERSION="0.2DrHouse"
|
||||
HOMEPAGE="http://wiki.xmms2.xmms.se/"
|
||||
DOWNLOAD="http://prdownloads.sourceforge.net/xmms2/xmms2-0.2DrHouse.tar.bz2"
|
||||
MD5SUM="8f7293b21bd6cb28e7705559a9deab10"
|
||||
MAINTAINER="Kyle Guinn"
|
||||
EMAIL="elyk03@gmail.com"
|
||||
APPROVED="rworkman"
|
Loading…
Reference in a new issue