summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:56 +0200
committer Heinz Wiesinger <pprkut@slackbuilds.org>2010-05-11 20:30:56 +0200
commit89a9de9fdb49a6b0a8048f24e01e177f96eec2d4 (patch)
tree3b8c45e821a8d6587351ed771df47c3abb4917f8 /audio
parentdb849944b91788ae5584a5dc57f942d0e9b3fd58 (diff)
downloadslackbuilds-89a9de9fdb49a6b0a8048f24e01e177f96eec2d4.tar.gz
slackbuilds-89a9de9fdb49a6b0a8048f24e01e177f96eec2d4.tar.xz
audio/speex: Moved from multimedia
Diffstat (limited to 'audio')
-rw-r--r--audio/speex/README7
-rw-r--r--audio/speex/slack-desc12
-rw-r--r--audio/speex/speex.SlackBuild86
-rw-r--r--audio/speex/speex.info8
4 files changed, 113 insertions, 0 deletions
diff --git a/audio/speex/README b/audio/speex/README
new file mode 100644
index 0000000000..339c23c818
--- /dev/null
+++ b/audio/speex/README
@@ -0,0 +1,7 @@
+Speex is an Open Source/Free Software patent-free audio compression
+format designed for speech. The Speex Project aims to lower the barrier
+of entry for voice applications by providing a free alternative to
+expensive proprietary speech codecs. Moreover, Speex is well-adapted
+to Internet applications and provides useful features that are not
+present in most other codecs. Finally, Speex is part of the GNU
+Project and is available under the revised BSD license.
diff --git a/audio/speex/slack-desc b/audio/speex/slack-desc
new file mode 100644
index 0000000000..4186abd7ab
--- /dev/null
+++ b/audio/speex/slack-desc
@@ -0,0 +1,12 @@
+ |-----handy-ruler------------------------------------------------------|
+speex:
+speex: Speex is an Open Source/Free Software patent-free audio compression
+speex: format designed for speech. The Speex Project aims to lower the
+speex: barrier of entry for voice applications by providing a free
+speex: alternative to expensive proprietary speech codecs. Moreover, Speex
+speex: is well-adapted to Internet applications and provides useful features
+speex: that are not present in most other codecs. Finally, Speex is part of
+speex: the GNU Project and is available under the revised BSD license.
+speex:
+speex: Homepage: http://www.speex.org/
+speex:
diff --git a/audio/speex/speex.SlackBuild b/audio/speex/speex.SlackBuild
new file mode 100644
index 0000000000..8e17451547
--- /dev/null
+++ b/audio/speex/speex.SlackBuild
@@ -0,0 +1,86 @@
+#!/bin/sh
+
+# Slackware build script for speex
+# Copyright (c) 2007 Alex Lysenka <me@alkos333.net>
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following disclaimer
+# in the documentation and/or other materials provided with the
+# distribution.
+# * Neither the name of the {company} nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "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 COPYRIGHT
+# OWNER OR CONTRIBUTORS 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.
+# Modified by SlackBuilds.org
+
+PRGNAM=speex
+VERSION=1.2rc1
+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"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar -xzvf $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 \
+ --enable-static=no \
+ --docdir=/usr/doc/$PRGNAM-$VERSION
+
+make
+make install-strip DESTDIR=$PKG
+
+mv $PKG/usr/share/man $PKG/usr
+gzip -9 $PKG/usr/man/man?/*
+
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc -type f -exec chown root:root {} \; -exec chmod 644 {} \;
+
+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/speex/speex.info b/audio/speex/speex.info
new file mode 100644
index 0000000000..062b3b4195
--- /dev/null
+++ b/audio/speex/speex.info
@@ -0,0 +1,8 @@
+PRGNAM="speex"
+VERSION="1.2rc1"
+HOMEPAGE="http://www.speex.org"
+DOWNLOAD="http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz"
+MD5SUM="c4438b22c08e5811ff10e2b06ee9b9ae"
+MAINTAINER="alkos333"
+EMAIL="me@alkos333.net"
+APPROVED="dsomero"