diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/aqualung/README | 6 | ||||
-rw-r--r-- | audio/aqualung/aqualung.SlackBuild | 115 | ||||
-rw-r--r-- | audio/aqualung/aqualung.desktop | 10 | ||||
-rw-r--r-- | audio/aqualung/aqualung.info | 10 | ||||
-rw-r--r-- | audio/aqualung/doinst.sh | 9 | ||||
-rw-r--r-- | audio/aqualung/slack-desc | 12 |
6 files changed, 162 insertions, 0 deletions
diff --git a/audio/aqualung/README b/audio/aqualung/README new file mode 100644 index 0000000000000..9e0380f857543 --- /dev/null +++ b/audio/aqualung/README @@ -0,0 +1,6 @@ +Aqualung is an advanced music player orignally targeted at the +GNU/Linux operating system. Today also running onf FreeBSD and +OpenBSD, with native ports to Mac OS X and even Microsoft Windows. +It plays audio CDs, internet radio streams and podcasts as well as +soundfile in just about any audio format and has a feature of +inserting no gaps between adjacent tracks. diff --git a/audio/aqualung/aqualung.SlackBuild b/audio/aqualung/aqualung.SlackBuild new file mode 100644 index 0000000000000..7113f96fec7c3 --- /dev/null +++ b/audio/aqualung/aqualung.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/sh + +# Slackware build script for Aqualung Music Player + +# Copyright 2011 Bojan Popovic, Belgrade, Serbia <bocke@mycity.rs> +# 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=aqualung +VERSION=${VERSION:-0.9beta11} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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} +PKG=$TMP/package-$PRGNAM +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" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# No additional flags specified. Let the configure autodetect what +# packages we have. Let me know if something doesn't behave right. +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +# Install icons +for SIZE in 16 24 32 48 64;do + install -m 755 -d $PKG/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps + install -m 644 $PKG/usr/share/aqualung/icon_${SIZE}.png \ + $PKG/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/aqualung.png +done + +# Install desktop entry +install -m 755 -d $PKG/usr/share/applications +install -m 644 $CWD/aqualung.desktop $PKG/usr/share/applications + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \ + $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/aqualung/aqualung.desktop b/audio/aqualung/aqualung.desktop new file mode 100644 index 0000000000000..430450eae0c1b --- /dev/null +++ b/audio/aqualung/aqualung.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Encoding=UTF-8 +Name=Aqualung +Comment=Aqualung Music Player +Icon=aqualung +Exec=aqualung +Terminal=false +Categories=Application;AudioVideo;AudioPlayer; diff --git a/audio/aqualung/aqualung.info b/audio/aqualung/aqualung.info new file mode 100644 index 0000000000000..4a555bdacf964 --- /dev/null +++ b/audio/aqualung/aqualung.info @@ -0,0 +1,10 @@ +PRGNAM="aqualung" +VERSION="0.9beta11" +HOMEPAGE="http://aqualung.factorial.hu/" +DOWNLOAD="http://downloads.sourceforge.net/aqualung/aqualung-0.9beta11.tar.gz" +MD5SUM="cfc470e0738e6edf9532af5f92aac959" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Bojan Popovic" +EMAIL="bocke@mycity.rs" +APPROVED="Niels Horn" diff --git a/audio/aqualung/doinst.sh b/audio/aqualung/doinst.sh new file mode 100644 index 0000000000000..3e5691a052b5b --- /dev/null +++ b/audio/aqualung/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/audio/aqualung/slack-desc b/audio/aqualung/slack-desc new file mode 100644 index 0000000000000..9f53a1f4a5d63 --- /dev/null +++ b/audio/aqualung/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +aqualung: Aqualung (an advanced music player) +aqualung: +aqualung: Aqualung is an advanced music player originally targeted at the +aqualung: GNU/Linux operating system. Today also running onf FreeBSD and +aqualung: OpenBSD, with native ports to Mac OS X and even Microsoft Windows. +aqualung: It plays audio CDs, internet radio streams and podcasts as well as +aqualung: soundfile in just about any audio format and has a feature of +aqualung: inserting no gaps between adjacent tracks. +aqualung: +aqualung: Homepage: http://aqualung.factorial.hu/ +aqualung: |