summaryrefslogtreecommitdiff
path: root/audio/ario
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ario')
-rw-r--r--audio/ario/README7
-rw-r--r--audio/ario/ario.SlackBuild62
-rw-r--r--audio/ario/ario.info8
-rw-r--r--audio/ario/doinst.sh3
-rw-r--r--audio/ario/slack-desc11
5 files changed, 91 insertions, 0 deletions
diff --git a/audio/ario/README b/audio/ario/README
new file mode 100644
index 0000000000..0c90425c2c
--- /dev/null
+++ b/audio/ario/README
@@ -0,0 +1,7 @@
+Ario is a GTK2 client for MPD (Music player daemon). The interface
+used to browse the library is inspired by Rhythmbox but Ario aims
+to be much lighter and faster.
+
+Dependencies, available at SlackBuilds.org
+libsoup (required)
+Avahi (optional)
diff --git a/audio/ario/ario.SlackBuild b/audio/ario/ario.SlackBuild
new file mode 100644
index 0000000000..bf1ea34377
--- /dev/null
+++ b/audio/ario/ario.SlackBuild
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+# Slackware build script for Ario
+# Written by Erik Hanson erik@slackbuilds.org
+
+set -eu
+
+PRGNAM=ario
+VERSION=1.1
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION # The source has no parent.
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+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 {} \;
+
+# Check for Avahi
+if $(pkg-config --exists avahi-core); then AVAHI="enable" ; else AVAHI="disable" ; fi
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --disable-static \
+ --${AVAHI}-avahi
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
+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
+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.tgz
diff --git a/audio/ario/ario.info b/audio/ario/ario.info
new file mode 100644
index 0000000000..c9c41eac00
--- /dev/null
+++ b/audio/ario/ario.info
@@ -0,0 +1,8 @@
+PRGNAM="ario"
+VERSION="1.1"
+HOMEPAGE="http://ario-player.sourceforge.net/"
+DOWNLOAD="http://downloads.sourceforge.net/ario-player/ario-1.1.tar.gz"
+MD5SUM=""e5b20724ecc9f6f5aee05a6cd0e943bc
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
+APPROVED="David Somero" \ No newline at end of file
diff --git a/audio/ario/doinst.sh b/audio/ario/doinst.sh
new file mode 100644
index 0000000000..3857649f50
--- /dev/null
+++ b/audio/ario/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
+fi
diff --git a/audio/ario/slack-desc b/audio/ario/slack-desc
new file mode 100644
index 0000000000..8223240ccd
--- /dev/null
+++ b/audio/ario/slack-desc
@@ -0,0 +1,11 @@
+ario: Ario (a GTK2 client for MPD)
+ario:
+ario: Ario is a GTK2 client for MPD (Music player daemon). The interface
+ario: used to browse the library is inspired by Rhythmbox but Ario aims
+ario: to be much lighter and faster.
+ario:
+ario:
+ario:
+ario:
+ario: http://ario-player.sourceforge.net/
+ario: