diff options
author | chinarulezzz <s.alex08@mail.ru> | 2014-09-05 07:25:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-06 00:02:52 +0700 |
commit | 1098c7c88fd91e6fc23be269fa99ff397058e87c (patch) | |
tree | 2a5b9ab0ff4f043cd89ab0a97b89b26d7b621a76 /audio | |
parent | 5aca0439cbcd16cdaf5c444f1fed3280bfe71366 (diff) |
audio/gmusicbrowser: Updated for version 1.1.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gmusicbrowser/README | 9 | ||||
-rw-r--r-- | audio/gmusicbrowser/gmusicbrowser.SlackBuild | 42 | ||||
-rw-r--r-- | audio/gmusicbrowser/gmusicbrowser.info | 6 |
3 files changed, 36 insertions, 21 deletions
diff --git a/audio/gmusicbrowser/README b/audio/gmusicbrowser/README index 9e48fd4244f6f..86d22dbd0331e 100644 --- a/audio/gmusicbrowser/README +++ b/audio/gmusicbrowser/README @@ -1,2 +1,9 @@ -gmusicbrowser is an open-source jukebox, written in perl, +gmusicbrowser is an open-source jukebox, written in perl, for large collections of mp3/ogg/flac/mpc files. + +The following additional features may be enabled by installing the listed +optional dependencies: + +* tray icon, with a very customizable tip window, which can be used to +control the player: perl-trayicon +* support gstreamer for playback: perl-gstreamer diff --git a/audio/gmusicbrowser/gmusicbrowser.SlackBuild b/audio/gmusicbrowser/gmusicbrowser.SlackBuild index 6fde872447006..ebd0f5850955a 100644 --- a/audio/gmusicbrowser/gmusicbrowser.SlackBuild +++ b/audio/gmusicbrowser/gmusicbrowser.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for gmusicbrowser # (C) 2007 Michael Wagner <lapinours@web.de> +# Copyright 2014 chinarulezzz # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,23 +12,29 @@ # 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. +# 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=gmusicbrowser -VERSION=1.1.8 +VERSION=${VERSION:-1.1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -ARCH=noarch # /usr/bin/gmusicbrowser is a perl script +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -35,27 +42,28 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make make install DESTDIR=$PKG mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share/man -gzip -9 $PKG/usr/man/man1/* 2> /dev/null +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -rm -rf $PKG/usr/lib* +# Not needed +rm -rf $PKG/usr/lib # Let's not pollute /usr/share/icons mv $PKG/usr/share/icons $PKG/usr/share/pixmaps diff --git a/audio/gmusicbrowser/gmusicbrowser.info b/audio/gmusicbrowser/gmusicbrowser.info index 197083505e902..6629151649123 100644 --- a/audio/gmusicbrowser/gmusicbrowser.info +++ b/audio/gmusicbrowser/gmusicbrowser.info @@ -1,8 +1,8 @@ PRGNAM="gmusicbrowser" -VERSION="1.1.8" +VERSION="1.1.12" HOMEPAGE="http://gmusicbrowser.org" -DOWNLOAD="http://gmusicbrowser.org/download/gmusicbrowser-1.1.8.tar.gz" -MD5SUM="839ed7fb8a1a7a4c39c868e228f93579" +DOWNLOAD="http://gmusicbrowser.org/download/gmusicbrowser-1.1.12.tar.gz" +MD5SUM="348029d561be345540198cb415c6cd25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-gtk2" |