summaryrefslogtreecommitdiff
path: root/multimedia/transcode/transcode.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:42:50 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:42:50 +0200
commitb69390f6a93641f0bcec8e34dc2ba0b773eb396c (patch)
tree1cbccfab065abc8b151713574c78020ef0376062 /multimedia/transcode/transcode.SlackBuild
parent0da71d740b87c7a8208b7c50b4558a26649efa9d (diff)
downloadslackbuilds-b69390f6a93641f0bcec8e34dc2ba0b773eb396c.tar.gz
multimedia/transcode: Updated for version 1.1.2
Diffstat (limited to 'multimedia/transcode/transcode.SlackBuild')
-rw-r--r--multimedia/transcode/transcode.SlackBuild22
1 files changed, 16 insertions, 6 deletions
diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild
index 13aded3b0a..5f28ad8911 100644
--- a/multimedia/transcode/transcode.SlackBuild
+++ b/multimedia/transcode/transcode.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for transcode
-# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# 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.0.7
+VERSION=1.1.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,6 +39,12 @@ 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"
elif [ "$ARCH" = "i686" ]; then
@@ -71,24 +77,28 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--enable-netstream \
+ --enable-alsa \
--enable-v4l \
--enable-ogg \
--enable-vorbis \
--enable-theora \
+ --enable-x264 \
+ --enable-xvid \
+ --enable-faac \
--enable-freetype2 \
--enable-sdl \
--enable-libxml2 \
--enable-libdv \
--${do_qt}able-libquicktime \
+ --${mjpeg}able-mjpegtools \
--enable-a52 \
--enable-a52-default-decoder \
--enable-nuv \
--enable-lzo \
- --enable-imagemagick \
--enable-libpostproc \
+ --enable-imagemagick \
--with-libpostproc-includes=/usr/include/libpostproc \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -99,7 +109,7 @@ make install-strip DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL README* TODO \
+cp -a AUTHORS ChangeLog COPYING INSTALL README STYLE TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
# --docdir does not work
mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/