summaryrefslogtreecommitdiffstats
path: root/multimedia/transcode/transcode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/transcode/transcode.SlackBuild')
-rw-r--r--multimedia/transcode/transcode.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild
index 0afa4316a2..569f679ad5 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, Amsterdam, The Netherlands
+# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,15 +24,13 @@
PRGNAM=transcode
VERSION=1.1.5
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -71,6 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix an issue with newer libjpeg versions. Thanks to Niels Horn for the patch :)
+patch -p1 -i $CWD/transcode-jpeg8.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,7 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-netstream \
--enable-alsa \
--enable-v4l \
- --enable-libv4l2=${LIBV4L:-no} \
+ --enable-libv4l2=${LIBV4L:-yes} \
--enable-libv4lconvert=${LIBV4L:-yes} \
--enable-libmpeg2=${LIBMPEG2:-no} \
--enable-libmpeg2convert=${LIBMPEG2:-no} \