diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/freepats/README | 7 | ||||
-rw-r--r-- | multimedia/freepats/doinst.sh | 16 | ||||
-rw-r--r-- | multimedia/freepats/freepats.SlackBuild | 46 | ||||
-rw-r--r-- | multimedia/freepats/freepats.info | 8 | ||||
-rw-r--r-- | multimedia/freepats/slack-desc | 19 |
5 files changed, 0 insertions, 96 deletions
diff --git a/multimedia/freepats/README b/multimedia/freepats/README deleted file mode 100644 index b131287416..0000000000 --- a/multimedia/freepats/README +++ /dev/null @@ -1,7 +0,0 @@ -Freepats is a project to create a free and open set of instrument patches. - -To use these patches with TiMidity++, add the following line to -/etc/timidity/timidity.cfg (minus the quotes): - 'source $basedir/freepats.cfg' -Alternatively, use crude.cfg instead of freepats.cfg to use substitute -patches that fill in missing entries in the tone bank. diff --git a/multimedia/freepats/doinst.sh b/multimedia/freepats/doinst.sh deleted file mode 100644 index 50188f32f1..0000000000 --- a/multimedia/freepats/doinst.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -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... -} - -config etc/timidity/crude.cfg.new -config etc/timidity/freepats.cfg.new - diff --git a/multimedia/freepats/freepats.SlackBuild b/multimedia/freepats/freepats.SlackBuild deleted file mode 100644 index b774634b56..0000000000 --- a/multimedia/freepats/freepats.SlackBuild +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -# Slackware build script for freepats -# Written by Kyle Guinn <elyk03@gmail.com> - -set -e - -PRGNAM=freepats -VERSION=20060219 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -mkdir -p $PKG/usr/share/sounds/$PRGNAM $PKG/etc/timidity -cp -a Drum_000 Tone_000 $PKG/usr/share/sounds/$PRGNAM -cat crude.cfg > $PKG/etc/timidity/crude.cfg.new -cat freepats.cfg > $PKG/etc/timidity/freepats.cfg.new - -# Modify the sample TiMidity++ configuration files so that -# TiMidity++ will be able to find the patch files. -sed -i "4idir /usr/share/sounds/$PRGNAM\n" $PKG/etc/timidity/freepats.cfg.new -sed -i "10idir /usr/share/sounds/$PRGNAM\n" $PKG/etc/timidity/crude.cfg.new - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING 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.tgz diff --git a/multimedia/freepats/freepats.info b/multimedia/freepats/freepats.info deleted file mode 100644 index ecd8086053..0000000000 --- a/multimedia/freepats/freepats.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="freepats" -VERSION="20060219" -HOMEPAGE="http://freepats.opensrc.org/" -DOWNLOAD="http://freepats.opensrc.org/freepats-20060219.tar.bz2" -MD5SUM="b947806304bc559a644a2c06deda8404" -MAINTAINER="Kyle Guinn" -EMAIL="elyk03@gmail.com" -APPROVED="rworkman" diff --git a/multimedia/freepats/slack-desc b/multimedia/freepats/slack-desc deleted file mode 100644 index 9f2db6fbfd..0000000000 --- a/multimedia/freepats/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -freepats: Freepats (midi nstrument patches) -freepats: -freepats: Freepats is a project to create a free and open set of -freepats: instrument patches. -freepats: -freepats: -freepats: -freepats: -freepats: -freepats: -freepats: |