mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/gmpc-plugins: Updated for version 0.17.0
This commit is contained in:
parent
c01de60f77
commit
9ade3eaefc
4 changed files with 67 additions and 62 deletions
|
@ -1,24 +1,12 @@
|
|||
This is all the available plugins for GMPC.
|
||||
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
|
||||
|
||||
- autoplaylist
|
||||
- avahi (disabled)
|
||||
- coveramazon
|
||||
- extraplaylist
|
||||
- favorites
|
||||
- last.fm
|
||||
- libnotify (disabled)
|
||||
- lyrics
|
||||
- magnatune
|
||||
- mdcover
|
||||
- mserver
|
||||
- osd (disabled)
|
||||
- qosd (disabled)
|
||||
- random-playlist
|
||||
- serverstats
|
||||
- shout
|
||||
- stopbutton
|
||||
- wikipedia
|
||||
I've bundled it to include the following missing plugins:
|
||||
lastfmradio libnotify playlistsort tagedit
|
||||
No other changes were made.
|
||||
|
||||
Optional dependencies are avahi, libnotify, and xosd. They are
|
||||
available at SlackBuilds.org. If you wish to enable them, you
|
||||
will need to edit the PLUGINS variable in the SlackBuild.
|
||||
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=yes LIBNOTIFY=yes ./gmpc-plugins.SlackBuild
|
||||
|
|
|
@ -3,29 +3,23 @@
|
|||
# Slackware build script for gmpc-plugins
|
||||
# Written by Erik Hanson erik@slackbuilds.org
|
||||
|
||||
set -eu
|
||||
|
||||
PRGNAM=gmpc-plugins
|
||||
VERSION=${VERSION:-0.15.5.0}
|
||||
VERSION=${VERSION:-0.17.0}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=`pwd`
|
||||
AVAHI=${AVAHI:-no} # avahi
|
||||
XOSD=${XOSD:-no} # xosd
|
||||
LASTFM=${LASTFM:-no} # lastfm
|
||||
LIBNOTIFY=${LIBNOTIFY:-no} # libnotify
|
||||
LIRC=${LIRC:-no} # lirc
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# Available Plugins:
|
||||
#PLUGINS="autoplaylist avahi coveramazon extraplaylist favorites \
|
||||
#last.fm libnotify lyrics magnatune mdcover mserver osd qosd \
|
||||
#random-playlist serverstats shout stopbutton wikipedia"
|
||||
|
||||
# Plugins to build:
|
||||
PLUGINS="autoplaylist coveramazon extraplaylist favorites \
|
||||
last.fm lyrics magnatune mdcover mserver random-playlist \
|
||||
serverstats shout stopbutton wikipedia"
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
|
@ -34,6 +28,8 @@ elif [ "$ARCH" = "x86_64" ]; then
|
|||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -eu
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG
|
||||
cd $TMP
|
||||
|
@ -47,25 +43,38 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
for plugin in $PLUGINS ; do
|
||||
cd gmpc-${plugin}-${VERSION}
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var/lib \
|
||||
--disable-static \
|
||||
--enable-coveramazon \
|
||||
--enable-lyricwiki \
|
||||
--enable-mdcover \
|
||||
--enable-serverstats \
|
||||
--enable-lyrics \
|
||||
--enable-extraplaylist \
|
||||
--enable-alarm \
|
||||
--enable-jamendo \
|
||||
--enable-magnatune \
|
||||
--enable-tagedit \
|
||||
--enable-shout \
|
||||
--enable-avahi=$AVAHI \
|
||||
--enable-osd=$XOSD \
|
||||
--enable-lastfm=$LASTFM \
|
||||
--enable-lastfmradio=$LASTFM \
|
||||
--enable-libnotify=$LIBNOTIFY \
|
||||
--enable-lirc=$LIRC \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var/lib \
|
||||
--disable-static
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
cd -
|
||||
done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
|
||||
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $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
|
||||
|
||||
cd $PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="gmpc-plugins"
|
||||
VERSION="0.15.5.0"
|
||||
VERSION="0.17.0"
|
||||
HOMEPAGE="http://www.sarine.nl/gmpc-plugins-downloads"
|
||||
DOWNLOAD="http://slackbuilds.org/sources/12.1/gmpc-plugins-0.15.5.0.tar.bz2"
|
||||
MD5SUM="bc0e7b0147690651d20736cfd6e70ed2"
|
||||
DOWNLOAD="http://slackbuilds.org/sources/12.2/gmpc-plugins-0.17.0.tar.bz2"
|
||||
MD5SUM="daa640a47dcf2255b997580eda9625d6"
|
||||
MAINTAINER="Erik Hanson"
|
||||
EMAIL="erik@slackbuilds.org"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -1,11 +1,19 @@
|
|||
# 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-------------------------------------------------|
|
||||
gmpc-plugins: gmpc-plugins (extra plugins for GMPC)
|
||||
gmpc-plugins:
|
||||
gmpc-plugins: This is a bundle of the plugins for GMPC:
|
||||
gmpc-plugins: autoplaylist avahi coveramazon extraplaylist favorites
|
||||
gmpc-plugins: last.fm libnotify lyrics magnatune mdcover mserver osd qosd
|
||||
gmpc-plugins: random-playlist serverstats shout stopbutton wikipedia
|
||||
gmpc-plugins:
|
||||
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:
|
||||
gmpc-plugins:
|
||||
gmpc-plugins:
|
||||
gmpc-plugins:
|
||||
gmpc-plugins:
|
||||
gmpc-plugins:
|
||||
|
|
Loading…
Reference in a new issue