summaryrefslogtreecommitdiff
path: root/audio/gmpc-plugins/gmpc-plugins.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-13 00:21:08 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:21:08 +0200
commitc144011029e5d035ff138131b9bd83401ed45d9d (patch)
treed6092421d8ac9d8a4dc0c8acd33b7aea10c0dbc8 /audio/gmpc-plugins/gmpc-plugins.SlackBuild
parent522357f909b2ae0f8cb184e4d9d5ac298a5d3c6b (diff)
downloadslackbuilds-c144011029e5d035ff138131b9bd83401ed45d9d.tar.gz
audio/gmpc-plugins: Updated for version 0.19.0
Diffstat (limited to 'audio/gmpc-plugins/gmpc-plugins.SlackBuild')
-rw-r--r--audio/gmpc-plugins/gmpc-plugins.SlackBuild64
1 files changed, 47 insertions, 17 deletions
diff --git a/audio/gmpc-plugins/gmpc-plugins.SlackBuild b/audio/gmpc-plugins/gmpc-plugins.SlackBuild
index c0917b3ab7..7782c111bd 100644
--- a/audio/gmpc-plugins/gmpc-plugins.SlackBuild
+++ b/audio/gmpc-plugins/gmpc-plugins.SlackBuild
@@ -1,19 +1,40 @@
#!/bin/sh
-
+#
# Slackware build script for gmpc-plugins
-# Written by Erik Hanson erik@slackbuilds.org
+#
+# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gmpc-plugins
-VERSION=${VERSION:-0.17.0}
+VERSION=${VERSION:-0.19.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
AVAHI=${AVAHI:-no} # avahi
-XOSD=${XOSD:-no} # xosd
-LASTFM=${LASTFM:-no} # lastfm
-LIBNOTIFY=${LIBNOTIFY:-no} # libnotify
-LIRC=${LIRC:-no} # lirc
+AWN=${AWN:-no} # AWN
+LASTFM=${LASTFM:-no} # Last.FM
+LIBNOTIFY=${LIBNOTIFY:-no} # libnotify
+LIRC=${LIRC:-no} # lirc
+MSERVER=${MSERVER:-no} # microhttpd
+WIKIPEDIA=${WIKIPEDIA:-no} # WebKitGTK
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -22,10 +43,13 @@ OUTPUT=${OUTPUT:-/tmp}
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"
fi
set -eu
@@ -34,7 +58,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -48,24 +72,30 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
+ --enable-alarm \
+ --enable-albumview \
--enable-coveramazon \
- --enable-lyricwiki \
- --enable-mdcover \
- --enable-serverstats \
- --enable-lyrics \
+ --enable-discogs \
--enable-extraplaylist \
- --enable-alarm \
+ --enable-fullscreeninfo \
--enable-jamendo \
+ --enable-lyrics \
+ --enable-lyricsplugin \
+ --enable-lyricwiki \
--enable-magnatune \
- --enable-tagedit \
+ --enable-mdcover \
+ --enable-playlistsort \
--enable-shout \
+ --enable-tagedit \
--enable-avahi=$AVAHI \
- --enable-osd=$XOSD \
+ --enable-awn=$AWN \
--enable-lastfm=$LASTFM \
- --enable-lastfmradio=$LASTFM \
--enable-libnotify=$LIBNOTIFY \
--enable-lirc=$LIRC \
+ --enable-mserver=$MSERVER \
+ --enable-wikipedia=$WIKIPEDIA \
--build=$ARCH-slackware-linux
make
@@ -78,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}