diff --git a/audio/gimmix/README b/audio/gimmix/README index 9b3ca1c648..0799befad3 100644 --- a/audio/gimmix/README +++ b/audio/gimmix/README @@ -2,4 +2,8 @@ Gimmix is a graphical music player daemon (MPD) client written in C using GTK+2. It's very simple and easy to use, yet offers many features to make your audio experience a pleasant one. -libmpd (also available at SlackBuilds.org) is required to build this. +libmpd and libnxml are required to build this application; both are +available at SlackBuilds.org. + +NOTE : Please edit the SlackBuild file if you do not want the cover +and lyrics plugins. diff --git a/audio/gimmix/doinst.sh b/audio/gimmix/doinst.sh index 301399ba37..99fe936e34 100644 --- a/audio/gimmix/doinst.sh +++ b/audio/gimmix/doinst.sh @@ -1,5 +1,4 @@ - if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 + /usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1 fi diff --git a/audio/gimmix/gimmix.SlackBuild b/audio/gimmix/gimmix.SlackBuild index 6615ac2a96..6e7ac01afa 100644 --- a/audio/gimmix/gimmix.SlackBuild +++ b/audio/gimmix/gimmix.SlackBuild @@ -4,7 +4,7 @@ # Written by Kristaps Esterlins PRGNAM=gimmix -VERSION=0.4.3 +VERSION=0.5.3 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,14 +37,19 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Replace "enable" with "disable" -cover and -lyrics if you do not +# want to have built in plugins for cover and lyrics fetching. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ + --enable-cover \ + --enable-lyrics \ --build=$ARCH-slackware-linux make @@ -55,8 +60,14 @@ make install DESTDIR=$PKG find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done +) + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/audio/gimmix/gimmix.info b/audio/gimmix/gimmix.info index ebcec135c8..a05f5a9866 100644 --- a/audio/gimmix/gimmix.info +++ b/audio/gimmix/gimmix.info @@ -1,8 +1,8 @@ PRGNAM="gimmix" -VERSION="0.4.3" +VERSION="0.5.3" HOMEPAGE="http://gimmix.berlios.de/" -DOWNLOAD="http://download.berlios.de/gimmix/gimmix-0.4.3.tar.bz2" -MD5SUM="4b5061ac9fd6a8f0b640219ac1400c91" +DOWNLOAD="http://download.berlios.de/gimmix/gimmix-0.5.3.tar.bz2" +MD5SUM="3b190ef8e56f8887595d2dc0eeffe3cc" MAINTAINER="Kristaps Esterlins" EMAIL="esterlins@gmail.com" APPROVED="rworkman"