diff options
author | Paul Wisehart <wise@lupulin.net> | 2010-05-11 22:24:07 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:24:07 +0200 |
commit | 38e639d46d09ade16acd63e11299407d557944af (patch) | |
tree | 27c9768d2e720d4c3abb28704ebf1b46dee33989 /libraries | |
parent | 0d9c99f187bdd693d17fa2a199b927027edea7ab (diff) |
libraries/libsamplerate: Updated for version 0.1.4
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libsamplerate/libsamplerate.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/libsamplerate/libsamplerate.info | 8 | ||||
-rw-r--r-- | libraries/libsamplerate/slack-desc | 16 |
3 files changed, 21 insertions, 19 deletions
diff --git a/libraries/libsamplerate/libsamplerate.SlackBuild b/libraries/libsamplerate/libsamplerate.SlackBuild index 4cb994478a0c..a549c9f6e5b6 100644 --- a/libraries/libsamplerate/libsamplerate.SlackBuild +++ b/libraries/libsamplerate/libsamplerate.SlackBuild @@ -5,9 +5,9 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=libsamplerate -VERSION=0.1.2 +VERSION=0.1.4 ARCH=${ARCH:-i486} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -19,6 +19,8 @@ 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 set -e # Exit on most errors @@ -38,15 +40,15 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ - --localstatedir=/var + --localstatedir=/var \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING README doc/* $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/libsamplerate/libsamplerate.info b/libraries/libsamplerate/libsamplerate.info index a9ebe0b847c9..a8e2f98b195a 100644 --- a/libraries/libsamplerate/libsamplerate.info +++ b/libraries/libsamplerate/libsamplerate.info @@ -1,8 +1,8 @@ PRGNAM="libsamplerate" -VERSION="0.1.2" +VERSION="0.1.4" HOMEPAGE="http://www.mega-nerd.com/SRC/" -DOWNLOAD="http://www.mega-nerd.com/SRC/libsamplerate-0.1.2.tar.gz" -MD5SUM="06861c2c6b8e5273c9b80cf736b9fd0e" +DOWNLOAD="http://www.mega-nerd.com/SRC/libsamplerate-0.1.4.tar.gz" +MD5SUM="f6fafd5d4971a2442352c72bc3598cbd" MAINTAINER="paul wisehart" EMAIL="wise@lupulin.net" -APPROVED="BP{k},rworkman" +APPROVED="rworkman" diff --git a/libraries/libsamplerate/slack-desc b/libraries/libsamplerate/slack-desc index 929687208afe..09a3f31c9e5b 100644 --- a/libraries/libsamplerate/slack-desc +++ b/libraries/libsamplerate/slack-desc @@ -5,15 +5,15 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler------------------------------------------------------| + |-----handy-ruler-----------------------------------------------| libsamplerate: libsamplerate (Sample Rate Converter for audio) libsamplerate: -libsamplerate: Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter -libsamplerate: for audio. One example of where such a thing would be useful is -libsamplerate: converting audio from the CD sample rate of 44.1kHz to the 48kHz -libsamplerate: sample rate used by DAT players. SRC is capable of arbitrary -libsamplerate: and time varying conversions. SRC provides a small set of -libsamplerate: converters to allow quality to be traded off against -libsamplerate: computation cost. +libsamplerate: Secret Rabbit Code (aka libsamplerate) is a Sample Rate +libsamplerate: Converter for audio. One example of where such a thing +libsamplerate: would be useful is converting audio from the CD sample rate +libsamplerate: of 44.1kHz to the 48kHz sample rate used by DAT players. +libsamplerate: SRC is capable of arbitrary and time varying conversions. +libsamplerate: SRC provides a small set of converters to allow quality to +libsamplerate: be traded off against computation cost. libsamplerate: libsamplerate: |