summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:59 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:59 +0200
commitfce68c3c69cd8169d718138552f3676dbc121ce4 (patch)
tree1118dbaa460831848543c51c2f47f3e2b355d511 /audio
parent5d2e07a8ccf10ff88aaf4f83326e4c1e267e5162 (diff)
downloadslackbuilds-fce68c3c69cd8169d718138552f3676dbc121ce4.tar.gz
audio/vorbisgain: Moved from multimedia
Diffstat (limited to 'audio')
-rw-r--r--audio/vorbisgain/README6
-rw-r--r--audio/vorbisgain/slack-desc19
-rw-r--r--audio/vorbisgain/vorbisgain.SlackBuild78
-rw-r--r--audio/vorbisgain/vorbisgain.info8
4 files changed, 111 insertions, 0 deletions
diff --git a/audio/vorbisgain/README b/audio/vorbisgain/README
new file mode 100644
index 0000000000..3389213bff
--- /dev/null
+++ b/audio/vorbisgain/README
@@ -0,0 +1,6 @@
+Vorbisgain enables you to adjust the volume of your files using the
+replaygain-algorithm. This way only tags are written to your files,
+they don't get modified itself.
+
+Via these tags, some audio-players are able to change the volume of
+each song, so that they're all played at the same volume.
diff --git a/audio/vorbisgain/slack-desc b/audio/vorbisgain/slack-desc
new file mode 100644
index 0000000000..a0acc102bd
--- /dev/null
+++ b/audio/vorbisgain/slack-desc
@@ -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---------------------------------------------------|
+vorbisgain: vorbisgain (volume gain adjuster for ogg vorbis)
+vorbisgain:
+vorbisgain: Vorbisgain enables you to adjust the volume of your files using the
+vorbisgain: replaygain-algorithm. This way only tags are written to your files;
+vorbisgain: they don't get modified themselves.
+vorbisgain: Via these tags, some audio-players are able to change the volume of
+vorbisgain: each song, so that they're all played at the same volume.
+vorbisgain:
+vorbisgain: Homepage: http://sjeng.org/vorbisgain.html
+vorbisgain:
+vorbisgain:
diff --git a/audio/vorbisgain/vorbisgain.SlackBuild b/audio/vorbisgain/vorbisgain.SlackBuild
new file mode 100644
index 0000000000..25ad49cf3a
--- /dev/null
+++ b/audio/vorbisgain/vorbisgain.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/sh
+
+# Slackware build script for vorbisgain
+
+# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# 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=vorbisgain
+VERSION=0.37
+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"
+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 .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-recursive
+
+make
+make install-strip DESTDIR=$PKG
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/audio/vorbisgain/vorbisgain.info b/audio/vorbisgain/vorbisgain.info
new file mode 100644
index 0000000000..db07bc2af5
--- /dev/null
+++ b/audio/vorbisgain/vorbisgain.info
@@ -0,0 +1,8 @@
+PRGNAM="vorbisgain"
+VERSION="0.37"
+HOMEPAGE="http://sjeng.org/vorbisgain.html"
+DOWNLOAD="http://sjeng.org/ftp/vorbis/vorbisgain-0.37.tar.gz"
+MD5SUM="850b05a7b2b0ee67edb5a27b8c6ac3a2"
+MAINTAINER="ppr:kut"
+EMAIL="HMWiesinger@gmx.at"
+APPROVED="Michiel"