summaryrefslogtreecommitdiff
path: root/multimedia/transcode/transcode.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-06-16 14:05:22 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-16 17:08:28 -0500
commit6107d94b253f024101967408d53c5c67ab56423d (patch)
treea70f14cad5e94f6b98c792c644fbba550572baf1 /multimedia/transcode/transcode.SlackBuild
parent46def898c70729238aa66b37219bcf753c6b7148 (diff)
downloadslackbuilds-6107d94b253f024101967408d53c5c67ab56423d.tar.gz
multimedia/transcode: Patched to eliminate libjpeg segault.
Thanks to Niels Horn for the patch. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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} \