aboutsummaryrefslogtreecommitdiff
path: root/multimedia/transcode/transcode.SlackBuild
diff options
context:
space:
mode:
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 13aded3b0a4ce..5f28ad8911127 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/