diff options
author | Heinz Wiesinger <HMWiesinger@gmx.at> | 2010-05-11 20:01:26 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 20:01:26 +0200 |
commit | 99ee53b168af8c2d3d7697b7ae98909548df24ec (patch) | |
tree | 1cb9858c9d1102da2f17a9e70f7d942cab168124 /multimedia/vorbisgain | |
parent | db00d87490bf42d086fc1858e134eb0d339b344a (diff) | |
download | slackbuilds-99ee53b168af8c2d3d7697b7ae98909548df24ec.tar.gz |
multimedia/vorbisgain: Added to 12.0 repository
Diffstat (limited to 'multimedia/vorbisgain')
-rw-r--r-- | multimedia/vorbisgain/README | 6 | ||||
-rw-r--r-- | multimedia/vorbisgain/slack-desc | 19 | ||||
-rw-r--r-- | multimedia/vorbisgain/vorbisgain.SlackBuild | 78 | ||||
-rw-r--r-- | multimedia/vorbisgain/vorbisgain.info | 8 |
4 files changed, 111 insertions, 0 deletions
diff --git a/multimedia/vorbisgain/README b/multimedia/vorbisgain/README new file mode 100644 index 0000000000..3389213bff --- /dev/null +++ b/multimedia/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/multimedia/vorbisgain/slack-desc b/multimedia/vorbisgain/slack-desc new file mode 100644 index 0000000000..a0acc102bd --- /dev/null +++ b/multimedia/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/multimedia/vorbisgain/vorbisgain.SlackBuild b/multimedia/vorbisgain/vorbisgain.SlackBuild new file mode 100644 index 0000000000..25ad49cf3a --- /dev/null +++ b/multimedia/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/multimedia/vorbisgain/vorbisgain.info b/multimedia/vorbisgain/vorbisgain.info new file mode 100644 index 0000000000..db07bc2af5 --- /dev/null +++ b/multimedia/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" |