diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-05-19 21:58:27 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-21 01:34:54 -0500 |
commit | feff537d3147abe0782fc6798a7a09082a70df2d (patch) | |
tree | 0ed42dc0d4810929ab8eefbbcaea13b119103e58 | |
parent | c316bd5c2e509b068c28794f45e04c7422aefbe4 (diff) |
multimedia/exaile: Miscellaneous cleanups.
-rw-r--r-- | multimedia/exaile/README | 10 | ||||
-rw-r--r-- | multimedia/exaile/exaile.SlackBuild | 13 |
2 files changed, 17 insertions, 6 deletions
diff --git a/multimedia/exaile/README b/multimedia/exaile/README index dff3d023f7726..a1fd313d935bf 100644 --- a/multimedia/exaile/README +++ b/multimedia/exaile/README @@ -3,9 +3,9 @@ incorporates automatic fetching of album art, handling of large libraries, lyrics fetching, artist/album information via Wikipedia, and Last.fm submission support. -This requires gst-plugins-good, gst-python, and mutagen. +This requires gst-python and mutagen. -Optional dependencies are gst-plugins-ugly (for mp3 support), -cddb-p (for audio CD playback), gst-gnome-vfs (for SHOUTcast support), -webkit, pywebkitgtk (for contextual informations about the track) and -streamripper (to record streams). +Optional dependencies are gst-plugins-ugly (for mp3 support), cddb-p (for +audio CD playback), gst-gnome-vfs (for SHOUTcast support), webkit, +pywebkitgtk (for contextual informations about the track) and streamripper +(to record streams). diff --git a/multimedia/exaile/exaile.SlackBuild b/multimedia/exaile/exaile.SlackBuild index 01158ee537b88..8ee3261e2314e 100644 --- a/multimedia/exaile/exaile.SlackBuild +++ b/multimedia/exaile/exaile.SlackBuild @@ -6,10 +6,19 @@ PRGNAM=exaile VERSION=${VERSION:-0.3.0.1} -ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -21,6 +30,8 @@ elif [ "$ARCH" = "i686" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" +else + LIBDIRSUFFIX="" fi set -e |