mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
audio/ario: Added to 12.1 repository
This commit is contained in:
parent
2daf63534d
commit
7fea8dd240
5 changed files with 91 additions and 0 deletions
7
audio/ario/README
Normal file
7
audio/ario/README
Normal file
|
@ -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)
|
62
audio/ario/ario.SlackBuild
Normal file
62
audio/ario/ario.SlackBuild
Normal file
|
@ -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
|
8
audio/ario/ario.info
Normal file
8
audio/ario/ario.info
Normal file
|
@ -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"
|
3
audio/ario/doinst.sh
Normal file
3
audio/ario/doinst.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
|
||||
fi
|
11
audio/ario/slack-desc
Normal file
11
audio/ario/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue