summaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild')
-rw-r--r--multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
index f2efde2012..d562ef4ef0 100644
--- a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
+++ b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for ffmpeg2theora
# Home Page http://v2v.cc/~j/ffmpeg2theora/
-# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2008-2016, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
#
@@ -28,13 +28,13 @@
# Modified by SlackBuilds.org --dsomero,rworkman
PRGNAM="ffmpeg2theora"
-VERSION=${VERSION:-0.29}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.30}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -67,12 +67,6 @@ 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 {} \;
-# 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
# Fix underlinking on -current
# thanks to Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768674
patch -p1 < $CWD/link-libm.patch