summaryrefslogtreecommitdiff
path: root/multimedia/transcode/transcode.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2015-05-23 18:42:38 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-20 11:55:20 +0700
commitdbf4c04be62be254e5bd9ce8b1ddfe0b12d48f08 (patch)
tree4cd895594c9e63cead0060438bd7c1c34e15acc2 /multimedia/transcode/transcode.SlackBuild
parentfcf3692ac81d9cbeb7765969a6f17c34901b636f (diff)
downloadslackbuilds-dbf4c04be62be254e5bd9ce8b1ddfe0b12d48f08.tar.gz
multimedia/transcode: Fixed building with newer ffmpeg.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/transcode/transcode.SlackBuild')
-rw-r--r--multimedia/transcode/transcode.SlackBuild18
1 files changed, 16 insertions, 2 deletions
diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild
index 1ac0bc1c30..992a622ac1 100644
--- a/multimedia/transcode/transcode.SlackBuild
+++ b/multimedia/transcode/transcode.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for transcode
-# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2015 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=transcode
VERSION=1.1.7
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -77,6 +77,7 @@ patch -p1 -i $CWD/transcode-1.1.7-preset-free.patch
patch -p0 -i $CWD/transcode-1.1.7-libav-9.patch
patch -p1 -i $CWD/transcode-1.1.7-preset-force.patch
patch -p1 -i $CWD/transcode-1.1.7-ffmpeg2.patch
+patch -p1 -i $CWD/transcode-1.1.7-ffmpeg24.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -115,6 +116,19 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+# Install headers
+mkdir -p $PKG/usr/include/transcode/{aclib,avilib,libtc,libtcaudio,libtcvideo}
+install -m 644 src/*.h $PKG/usr/include/transcode/
+install -m 644 aclib/*.h $PKG/usr/include/transcode/aclib/
+install -m 644 avilib/*.h $PKG/usr/include/transcode/avilib/
+install -m 644 libtc/*.h $PKG/usr/include/transcode/libtc/
+install -m 644 libtcaudio/*.h $PKG/usr/include/transcode/libtcaudio/
+install -m 644 libtcvideo/*.h $PKG/usr/include/transcode/libtcvideo/
+install -m 644 config.h $PKG/usr/include/transcode/
+
+# remove filters shipped by other packages
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/transcode/filter_{stabilize,transform}.*
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION