diff options
author | B. Watson <yalhcru@gmail.com> | 2014-05-15 03:40:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-15 03:40:17 +0700 |
commit | e218c10caacaeb661c4b2027920cd3466b70a525 (patch) | |
tree | 345b7ee8954a3c8c0aecb88c96e37700b94f8d46 /multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild | |
parent | b4ef1ccdc7e47dac4ffc68ea2a19f46beffd4192 (diff) |
multimedia/ffmpeg2theora: Applied upstream fix for ffmpeg.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild')
-rw-r--r-- | multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild index 7080fef483c0..aae5c080f85e 100644 --- a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild +++ b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild @@ -29,7 +29,7 @@ PRGNAM="ffmpeg2theora" VERSION=${VERSION:-0.29} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,7 +67,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -echo "#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000" >> src/ffmpeg2theora.h +# include some patches cherry-picked from upstream's git. +# two of them are ffmpeg API fixes and one is a small bugfix. +for diff in $CWD/patches/*.diff; do + echo $diff + patch -p1 < $diff +done + scons install APPEND_CCFLAGS="$SLKCFLAGS" prefix=/usr destdir=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |