summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/exaile/README10
-rw-r--r--multimedia/exaile/exaile.SlackBuild13
2 files changed, 17 insertions, 6 deletions
diff --git a/multimedia/exaile/README b/multimedia/exaile/README
index dff3d023f7..a1fd313d93 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 01158ee537..8ee3261e23 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