mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
multimedia/faac: Added to 12.0 repository
This commit is contained in:
parent
05f23f38e9
commit
384866390f
4 changed files with 101 additions and 0 deletions
5
multimedia/faac/README
Normal file
5
multimedia/faac/README
Normal file
|
@ -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.
|
69
multimedia/faac/faac.SlackBuild
Normal file
69
multimedia/faac/faac.SlackBuild
Normal file
|
@ -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
|
8
multimedia/faac/faac.info
Normal file
8
multimedia/faac/faac.info
Normal file
|
@ -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"
|
19
multimedia/faac/slack-desc
Normal file
19
multimedia/faac/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue