aboutsummaryrefslogtreecommitdiff
path: root/multimedia/transcode
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:24:59 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:24:59 +0200
commited5c3f58fe4eb4312ca51a7611cbb3e89799c5d3 (patch)
tree6b034f6f11ef7f2ff4c3e37c57c35b7a4181981a /multimedia/transcode
parent8dfd1d365254f4548ced4b9d76a8e2985957da65 (diff)
multimedia/transcode: Updated for version 1.0.7
Diffstat (limited to 'multimedia/transcode')
-rw-r--r--multimedia/transcode/README14
-rw-r--r--multimedia/transcode/slack-desc2
-rw-r--r--multimedia/transcode/transcode.SlackBuild37
-rw-r--r--multimedia/transcode/transcode.info10
4 files changed, 45 insertions, 18 deletions
diff --git a/multimedia/transcode/README b/multimedia/transcode/README
index c6a6e9ba67148..cbd1067c5a552 100644
--- a/multimedia/transcode/README
+++ b/multimedia/transcode/README
@@ -1,9 +1,11 @@
transcode is a text-console utility for video stream processing.
-Decoding and encoding is done by loading modules that are responsible for
-feeding transcode with raw video/audio streams (import modules) and encoding
-the frames (export modules). It supports elementary video and audio frame
-transformations, including de-interlacing or fast resizing of video frames
+Decoding and encoding is done by loading modules that are responsible for
+feeding transcode with raw video/audio streams (import modules) and encoding
+the frames (export modules). It supports elementary video and audio frame
+transformations, including de-interlacing or fast resizing of video frames
and loading of external filters.
-Requires ffmpeg, libmpeg2 (also called mpeg2dec), lame, libdv, libquicktime,
-libdvdread or libdvdnav, and a52dec (all available from SlackBuilds.org).
+Requires ffmpeg, libmpeg2, lame, libdv, libdvdread and a52dec.
+If you don't want support for libquicktime you'll have to pass QUICKTIME=no
+to the script.
+All dependencies are available from SlackBuilds.org.
diff --git a/multimedia/transcode/slack-desc b/multimedia/transcode/slack-desc
index afd74336b3ce4..e5ffafdaa0701 100644
--- a/multimedia/transcode/slack-desc
+++ b/multimedia/transcode/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------|
+ |-----handy-ruler----------------------------------------------------|
transcode: transcode (Audio/Video transcoding)
transcode:
transcode: transcode is a text-console utility for video stream processing.
diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild
index 268057d9a69de..13aded3b0a4ce 100644
--- a/multimedia/transcode/transcode.SlackBuild
+++ b/multimedia/transcode/transcode.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for transcode
-# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2008 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.5
+VERSION=1.0.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,10 +33,18 @@ 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 [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -48,7 +56,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -56,10 +68,10 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--enable-netstream \
--enable-v4l \
- --enable-libpostproc \
--enable-ogg \
--enable-vorbis \
--enable-theora \
@@ -67,16 +79,29 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-sdl \
--enable-libxml2 \
--enable-libdv \
- --enable-libquicktime \
+ --${do_qt}able-libquicktime \
--enable-a52 \
- --enable-a52-default-decoder
+ --enable-a52-default-decoder \
+ --enable-nuv \
+ --enable-lzo \
+ --enable-imagemagick \
+ --enable-libpostproc \
+ --with-libpostproc-includes=/usr/include/libpostproc \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
+# --docdir does not work
mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/transcode/transcode.info b/multimedia/transcode/transcode.info
index ae803aa7a0588..70c1bf75d2d9d 100644
--- a/multimedia/transcode/transcode.info
+++ b/multimedia/transcode/transcode.info
@@ -1,8 +1,8 @@
PRGNAM="transcode"
-VERSION="1.0.5"
+VERSION="1.0.7"
HOMEPAGE="http://www.transcoding.org/"
-DOWNLOAD="http://transcode.kabewm.com/transcode-1.0.5.tar.bz2"
-MD5SUM="124a6055d304fa2d8577d7380e2bcb0c"
+DOWNLOAD="http://fromani.exit1.org/transcode-1.0.7.tar.bz2"
+MD5SUM="48a57f36861450dde78d6a1ad5edf99f"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="rworkman"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="Erik Hanson"