diff options
author | Marco Cecchetti <mrc.ildp@gmail.com> | 2010-05-12 23:27:51 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:27:51 +0200 |
commit | 724c8478620dede68130e1a3ab6ed759d3da7d49 (patch) | |
tree | 9d32c8612d0d4656f280543b8569fbd1174cb262 | |
parent | f0a5888b46cf0d3ab0b7e2b3933c6deb709898dc (diff) | |
download | slackbuilds-724c8478620dede68130e1a3ab6ed759d3da7d49.tar.gz |
audio/exaile: Added to 12.2 repository
-rw-r--r-- | audio/exaile/README | 12 | ||||
-rw-r--r-- | audio/exaile/doinst.sh | 3 | ||||
-rw-r--r-- | audio/exaile/exaile.SlackBuild | 58 | ||||
-rw-r--r-- | audio/exaile/exaile.info | 8 | ||||
-rw-r--r-- | audio/exaile/slack-desc | 20 |
5 files changed, 101 insertions, 0 deletions
diff --git a/audio/exaile/README b/audio/exaile/README new file mode 100644 index 0000000000..c203b4f3df --- /dev/null +++ b/audio/exaile/README @@ -0,0 +1,12 @@ +Exaile is a music manager and player for GTK+ written in Python. It +incorporates automatic fetching of album art, handling of large libraries, +lyrics fetching, artist/album information via Wikipedia, Last.fm submission +support. + +Dependencies: +This requires gstreamer-plugins-good, gst-python, mutagen and optional: +gst-plugins-ugly (for mp3 support), cddb-p (for audio CD playback) +and gst-gnome-vfs (for SHOUTcast support). + + + diff --git a/audio/exaile/doinst.sh b/audio/exaile/doinst.sh new file mode 100644 index 0000000000..3857649f50 --- /dev/null +++ b/audio/exaile/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null +fi diff --git a/audio/exaile/exaile.SlackBuild b/audio/exaile/exaile.SlackBuild new file mode 100644 index 0000000000..598391ab2e --- /dev/null +++ b/audio/exaile/exaile.SlackBuild @@ -0,0 +1,58 @@ +#!/bin/sh + +# Slackware build script for exaile +# Written by Marco Cecchetti (mrc.ildp@gmail.com) +# Modified by SlackBuilds.org + +PRGNAM=exaile +VERSION=${VERSION:-0.2.14} +ARCH=${ARCH:-noarch} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +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 . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +make +PREFIX=/usr make install DESTDIR=$PKG + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +mv $PKG/usr/share/man $PKG/usr +gzip $PKG/usr/man/man1/$PRGNAM.1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + changelog checklist COPYING INSTALL license.txt testing \ + $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.tgz diff --git a/audio/exaile/exaile.info b/audio/exaile/exaile.info new file mode 100644 index 0000000000..e60b682ea0 --- /dev/null +++ b/audio/exaile/exaile.info @@ -0,0 +1,8 @@ +PRGNAM="exaile" +VERSION="0.2.14" +HOMEPAGE="http://www.exaile.org/" +DOWNLOAD="http://www.exaile.org/files/exaile_0.2.14.tar.gz" +MD5SUM="5e569c084134abe13d651f804812b6fa" +MAINTAINER="Marco Cecchetti" +EMAIL="mrc.ildp@gmail.com" +APPROVED="dsomero" diff --git a/audio/exaile/slack-desc b/audio/exaile/slack-desc new file mode 100644 index 0000000000..432439cb77 --- /dev/null +++ b/audio/exaile/slack-desc @@ -0,0 +1,20 @@ +# 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------------------------------------------------------| +exaile: Exaile (Amarok-like Media Player for GTK+) +exaile: +exaile: Exaile is a music manager and player for GTK+ written in Python. it +exaile: incorporates automatic fetching of album art, handling of large +exaile: libraries, lyrics fetching, artist/album information via Wikipedia, +exaile: Lastfm submission support, and optional iPod support. +exaile: +exaile: It includes a built-in SHOUTcast directory browsers, tabbed playlists +exaile: and other features. +exaile: +exaile: HomePage: http://www.exaile.org/ + |