diff options
author | K.D.Hedger <kdhedger@yahoo.co.uk> | 2010-07-10 00:57:54 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-10 02:17:59 -0500 |
commit | 1c1fb42eff7ea51c128f796ea7a60c7c9e5754da (patch) | |
tree | 28760b74d99081854bdb25882f59054e6811e54d /audio/quodlibet | |
parent | 3fd75b6ee27aa1818f2cdd79092288f6bb383008 (diff) | |
download | slackbuilds-1c1fb42eff7ea51c128f796ea7a60c7c9e5754da.tar.gz |
audio/quodlibet: Added (Music Management Program)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/quodlibet')
-rw-r--r-- | audio/quodlibet/README | 12 | ||||
-rw-r--r-- | audio/quodlibet/doinst.sh | 10 | ||||
-rw-r--r-- | audio/quodlibet/quodlibet.SlackBuild | 67 | ||||
-rw-r--r-- | audio/quodlibet/quodlibet.info | 10 | ||||
-rw-r--r-- | audio/quodlibet/slack-desc | 19 |
5 files changed, 118 insertions, 0 deletions
diff --git a/audio/quodlibet/README b/audio/quodlibet/README new file mode 100644 index 0000000000..630ba8469c --- /dev/null +++ b/audio/quodlibet/README @@ -0,0 +1,12 @@ +Ex Falso / Quod Libet - A Music Library/Editor/Player + +Quod Libet is a music management program. It provides several different +ways to view your audio library, as well as support for Internet radio and +audio feeds. It has extremely flexible metadata tag editing and searching +capabilities. + +Ex Falso is a tag editor with the same tag editing interface as Quod Libet, +but it does not play files. + +This requires gst-python and mutagen. Optional but recommended dependencies +include gst-ffmpeg, gst-plugins-bad, and gst-plugins-ugly. diff --git a/audio/quodlibet/doinst.sh b/audio/quodlibet/doinst.sh new file mode 100644 index 0000000000..1f8ff67ded --- /dev/null +++ b/audio/quodlibet/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/audio/quodlibet/quodlibet.SlackBuild b/audio/quodlibet/quodlibet.SlackBuild new file mode 100644 index 0000000000..c8418494c3 --- /dev/null +++ b/audio/quodlibet/quodlibet.SlackBuild @@ -0,0 +1,67 @@ +#!/bin/sh + +# Slackware build script for quodlibet + +# Written by K.D.Hedger kdhedger@yahoo.co.uk + +PRGNAM=quodlibet +VERSION=2.2.1 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="COPYING HACKING NEWS PKG-INFO README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . + +python setup.py install --root=$PKG + +mv $PKG/usr/share/man $PKG/usr +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/share/pixmaps +cp -a quodlibet/images/{quodlibet,exfalso}.png $PKG/usr/share/pixmaps + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/quodlibet/quodlibet.info b/audio/quodlibet/quodlibet.info new file mode 100644 index 0000000000..88a763e121 --- /dev/null +++ b/audio/quodlibet/quodlibet.info @@ -0,0 +1,10 @@ +PRGNAM="quodlibet" +VERSION="2.2.1" +HOMEPAGE="http://quodlibet.googlecode.com/" +DOWNLOAD="http://quodlibet.googlecode.com/files/quodlibet-2.2.1.tar.gz" +MD5SUM="8e2bf197afbfca98975d0f2103629d2d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="K.D.Hedger" +EMAIL="kdhedger@yahoo.co.uk" +APPROVED="rworkman" diff --git a/audio/quodlibet/slack-desc b/audio/quodlibet/slack-desc new file mode 100644 index 0000000000..eeb6e7ca54 --- /dev/null +++ b/audio/quodlibet/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +quodlibet: Quod Libet (Music Management Program) +quodlibet: +quodlibet: Quod Libet is a music management program. It provides several +quodlibet: different ways to view your audio library, as well as support +quodlibet: for Internet radio and audio feeds. It has extremely flexible +quodlibet: metadata tag editing and searching capabilities. +quodlibet: +quodlibet: Homepage: http://code.google.com/p/quodlibet/ +quodlibet: +quodlibet: +quodlibet: |