diff options
author | core <eroc@linuxmail.org> | 2010-05-11 20:01:14 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 20:01:14 +0200 |
commit | 384866390f396e9c401ddfab78ef012620582635 (patch) | |
tree | db7609dfbf6de6654968e241279796d029218183 /multimedia | |
parent | 05f23f38e910787d3e361cff68b6acb37d8d4ff6 (diff) |
multimedia/faac: Added to 12.0 repository
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/faac/README | 5 | ||||
-rw-r--r-- | multimedia/faac/faac.SlackBuild | 69 | ||||
-rw-r--r-- | multimedia/faac/faac.info | 8 | ||||
-rw-r--r-- | multimedia/faac/slack-desc | 19 |
4 files changed, 101 insertions, 0 deletions
diff --git a/multimedia/faac/README b/multimedia/faac/README new file mode 100644 index 0000000000000..0c8eb5e41d8be --- /dev/null +++ b/multimedia/faac/README @@ -0,0 +1,5 @@ +faac - Freeware Advanced Audio Coder + +FAAC is an Advanced Audio Coder (MPEG2-AAC, MPEG4-AAC). +The goal of FAAC is to explore the possibilities of AAC and exceed +the quality of the currently best MP3 encoders. diff --git a/multimedia/faac/faac.SlackBuild b/multimedia/faac/faac.SlackBuild new file mode 100644 index 0000000000000..b69bbad4160a5 --- /dev/null +++ b/multimedia/faac/faac.SlackBuild @@ -0,0 +1,69 @@ +#!/bin/sh + +# Slackware build script for faac +# Written by core (eroc@linuxmail.org) + +# Mofified for version 1.26 by Robby Workman +# Thanks to Carpo on LinuxQuestions.org for the tips + +set -e + +PRGNAM=faac +VERSION=1.26 +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 + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz +mv $PRGNAM $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# Generate configure script +./bootstrap + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --enable-shared=yes \ + --enable-static=no \ + --with-mp4v2 + +make +make install-strip DESTDIR=$PKG + +if [ -d $PKG/usr/man ]; then +( 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 +) +fi + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO docs/* \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -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/multimedia/faac/faac.info b/multimedia/faac/faac.info new file mode 100644 index 0000000000000..8c988ab660bf6 --- /dev/null +++ b/multimedia/faac/faac.info @@ -0,0 +1,8 @@ +PRGNAM="faac" +VERSION="1.26" +HOMEPAGE="http://sourceforge.net/projects/faac" +DOWNLOAD="http://downloads.sourceforge.net/faac/faac-1.26.tar.gz" +MD5SUM="1d7c019bd2dbb4f3101b8937ebc59cf6" +MAINTAINER="core" +EMAIL="eroc@linuxmail.org" +APPROVED="rworkman" diff --git a/multimedia/faac/slack-desc b/multimedia/faac/slack-desc new file mode 100644 index 0000000000000..353e0382daff1 --- /dev/null +++ b/multimedia/faac/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------------------------------------------------------| +faac: faac (Freeware Advanced Audio Coder) +faac: +faac: FAAC is an Advanced Audio Coder (MPEG2-AAC, MPEG4-AAC). +faac: The goal of FAAC is to explore the possibilities of AAC +faac: and exceed the quality of the currently best MP3 encoders. +faac: +faac: Homepage: http://sourceforge.net/projects/faac +faac: +faac: +faac: +faac: |