audio/stops: Added (Sound definitions for aeolus)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Michales Michaloudes 2011-07-10 23:10:51 -04:00 committed by Niels Horn
parent 195a9ddcee
commit d74fdc7745
6 changed files with 113 additions and 0 deletions

8
audio/stops/README Normal file
View file

@ -0,0 +1,8 @@
This is not a program or library, but sound definitions for aeolus.
If you want write privileges, copy /usr/share/aeolus/stops-0.3.0 to your
home folder and edit /etc/aeolus.conf accordingly.
Requires: clthreads, clxclient, clalsadrv, jack-audio-connection-kit,
aeolus

View file

@ -0,0 +1,3 @@
# Aeolus default options
-u -S /usr/share/aeolus/stops-0.3.0

25
audio/stops/doinst.sh Normal file
View file

@ -0,0 +1,25 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
preserve_perms() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
if [ -e $OLD ]; then
cp -a $OLD ${NEW}.incoming
cat $NEW > ${NEW}.incoming
mv ${NEW}.incoming $NEW
fi
config $NEW
}
preserve_perms etc/aeolus.conf.new

19
audio/stops/slack-desc Normal file
View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
stops: stops (Sound definitions for aeolus)
stops:
stops: Sound definitions for aeolus.
stops:
stops:
stops:
stops:
stops:
stops:
stops:
stops:

View file

@ -0,0 +1,48 @@
#!/bin/sh
# Slackware build script for <stops>
# Written by Michales Michaloudes korgie@gmail.com
PRGNAM=stops
VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
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 {} \;
mkdir -p $PKG/etc
cat $CWD/aeolus.conf.new > $PKG/etc/aeolus.conf.new
mkdir -p $PKG/usr/share/aeolus/$PRGNAM-$VERSION
cp -ar $TMP/$PRGNAM-$VERSION/ $PKG/usr/share/aeolus/
rm $PKG/usr/share/aeolus/$PRGNAM-$VERSION/Makefile
mkdir -p $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}

10
audio/stops/stops.info Normal file
View file

@ -0,0 +1,10 @@
PRGNAM="stops"
VERSION="0.3.0"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html"
DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/stops-0.3.0.tar.bz2"
MD5SUM="2a7b1cae820408fa1cc655800d08d88f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
APPROVED="dsomero"