diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:35:12 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:35:12 +0200 |
commit | 56f8e0db83d886a99d01743ea29ff5ce77854f2f (patch) | |
tree | 6bf189ab53b77a046dbc1766ecf8d1bdd7e0117e /multimedia/transcode/transcode.SlackBuild | |
parent | 29cbfde556388340ad762b0b88cc2d880091f55b (diff) | |
download | slackbuilds-56f8e0db83d886a99d01743ea29ff5ce77854f2f.tar.gz |
multimedia/transcode: Updated for version 1.1.5
Diffstat (limited to 'multimedia/transcode/transcode.SlackBuild')
-rw-r--r-- | multimedia/transcode/transcode.SlackBuild | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild index 5f28ad8911..28820c2cee 100644 --- a/multimedia/transcode/transcode.SlackBuild +++ b/multimedia/transcode/transcode.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for transcode -# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=transcode -VERSION=1.1.2 +VERSION=1.1.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,24 +33,15 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "${QUICKTIME:-yes}" = "yes" ]; then - do_qt="en" -else - do_qt="dis" -fi - -if [ "${MJPEGTOOLS:-no}" = "no" ]; then - mjpeg="dis" -else - mjpeg="en" -fi - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -72,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -79,20 +71,23 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-netstream \ --enable-alsa \ --enable-v4l \ + --enable-libv4l2=${LIBV4L:-no} \ + --enable-libv4lconvert=${LIBV4L:-no} \ + --enable-libmpeg2=${LIBMPEG2:-no} \ + --enable-libmpeg2convert=${LIBMPEG2:-no} \ --enable-ogg \ --enable-vorbis \ --enable-theora \ - --enable-x264 \ - --enable-xvid \ - --enable-faac \ + --enable-x264=${X264:-no} \ + --enable-xvid=${XVID:-no} \ + --enable-faac=${FAAC:-no} \ --enable-freetype2 \ --enable-sdl \ --enable-libxml2 \ - --enable-libdv \ - --${do_qt}able-libquicktime \ - --${mjpeg}able-mjpegtools \ - --enable-a52 \ - --enable-a52-default-decoder \ + --enable-libdv=${LIBDV:-no} \ + --enable-libquicktime=${QUICKTIME:-no} \ + --enable-mjpegtools=${MJPEGTOOLS:-no} \ + --enable-a52=${A52DEC:-no} \ --enable-nuv \ --enable-lzo \ --enable-libpostproc \ @@ -120,4 +115,4 @@ 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 +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |