summaryrefslogtreecommitdiff
path: root/audio
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
parent522357f909b2ae0f8cb184e4d9d5ac298a5d3c6b (diff)
downloadslackbuilds-c144011029e5d035ff138131b9bd83401ed45d9d.tar.gz
audio/gmpc-plugins: Updated for version 0.19.0
Diffstat (limited to 'audio')
-rw-r--r--audio/gmpc-plugins/README16
-rw-r--r--audio/gmpc-plugins/gmpc-plugins.SlackBuild64
-rw-r--r--audio/gmpc-plugins/gmpc-plugins.info10
-rw-r--r--audio/gmpc-plugins/slack-desc2
4 files changed, 61 insertions, 31 deletions
diff --git a/audio/gmpc-plugins/README b/audio/gmpc-plugins/README
index a83356e680..4e9bec5397 100644
--- a/audio/gmpc-plugins/README
+++ b/audio/gmpc-plugins/README
@@ -1,12 +1,10 @@
-This is a re-bundle of the gmpc-plugins tarball available here:
-http://download.sarine.nl/Programs/gmpc/0.17.0/gmpc-plugins-0.17.0.tar.gz
-
-I've bundled it to include the following missing plugins:
- lastfmradio libnotify playlistsort tagedit
-No other changes were made.
+Additional plugins for GMPC.
Requires gmpc, gob2, json-glib, and optionally several others:
-avahi, xosd, lastfm, libnotify, and lirc. If you have any of these,
-you can run the script with VARIABLE=yes -- for example, if you have
-both avahi and libnotify installed, you would do this:
+avahi, awn, lastfm, libnotify, lirc, microhttpd, and webkitgtk.
+Some of these are available at SlackBuilds.org. If you have any of these and
+would like to enable the plugin, the variable are as follows:
+AVAHI AWN LASTFM LIBNOTIFY LIRC MSERVER WIKIPEDIA
+
+For example, if you have avahi and libnotify, you would do this:
AVAHI=yes LIBNOTIFY=yes ./gmpc-plugins.SlackBuild
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}
diff --git a/audio/gmpc-plugins/gmpc-plugins.info b/audio/gmpc-plugins/gmpc-plugins.info
index c282d06cee..a283b7149a 100644
--- a/audio/gmpc-plugins/gmpc-plugins.info
+++ b/audio/gmpc-plugins/gmpc-plugins.info
@@ -1,8 +1,10 @@
PRGNAM="gmpc-plugins"
-VERSION="0.17.0"
+VERSION="0.19.0"
HOMEPAGE="http://www.sarine.nl/gmpc-plugins-downloads"
-DOWNLOAD="http://slackbuilds.org/sources/12.2/gmpc-plugins-0.17.0.tar.bz2"
-MD5SUM="daa640a47dcf2255b997580eda9625d6"
+DOWNLOAD="http://download.sarine.nl/Programs/gmpc/0.19.0/gmpc-plugins-0.19.0.tar.gz"
+MD5SUM="f970ebd1adb5592929167e74072a8d3c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="dsomero"
diff --git a/audio/gmpc-plugins/slack-desc b/audio/gmpc-plugins/slack-desc
index d3b26845b7..7eb3f7f85c 100644
--- a/audio/gmpc-plugins/slack-desc
+++ b/audio/gmpc-plugins/slack-desc
@@ -10,7 +10,7 @@ gmpc-plugins: gmpc-plugins (extra plugins for GMPC)
gmpc-plugins:
gmpc-plugins: This is a bundle of the plugins for GMPC.
gmpc-plugins:
-gmpc-plugins: http://www.sarine.nl/gmpc-plugins-downloads
+gmpc-plugins: Homepage: http://www.sarine.nl/gmpc-plugins-downloads
gmpc-plugins:
gmpc-plugins:
gmpc-plugins: