aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2theora
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-07-03 15:12:13 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-03 15:12:13 -0500
commit45dcf510f6f475ba91ccf2521ed2ca38108855f3 (patch)
tree1e2686016004985d78e5715c4c802c9fa0aeac6c /multimedia/ffmpeg2theora
parent854ad571a9932f0002c059fa5ae97bfc620b5cd3 (diff)
multimedia/ffmpeg2theora: Updated for version 0.27.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/ffmpeg2theora')
-rw-r--r--multimedia/ffmpeg2theora/README11
-rw-r--r--multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild35
-rw-r--r--multimedia/ffmpeg2theora/ffmpeg2theora.info8
-rw-r--r--multimedia/ffmpeg2theora/slack-desc6
4 files changed, 25 insertions, 35 deletions
diff --git a/multimedia/ffmpeg2theora/README b/multimedia/ffmpeg2theora/README
index 6e232e40a31d..0c48a18d8386 100644
--- a/multimedia/ffmpeg2theora/README
+++ b/multimedia/ffmpeg2theora/README
@@ -1,8 +1,5 @@
-ffmpeg2theora is a simple converter to create Ogg-Theora files. It currently
-provides only command-line interface to convert any files that ffmpeg
-can decode.
+ffmpeg2theora is a simple converter to create Ogg-Theora files.
+It currently provides only command-line interface to convert any
+files that ffmpeg can decode.
-Dependencies include:
-1. ffmpeg (available at SBo)
-2. scons (available at SBo, required for building ffmpeg2theora)
-3. libkate (available at SBo, required for subtitles support)
+This requires scons, ffmpeg, and libkate.
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
index 5d02230a36a9..1fb4ecf7bafc 100644
--- a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
+++ b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
@@ -5,13 +5,13 @@
# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
-
+#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
-
+#
# 1. Redistributions of script must retain the above copyright notice,
# this list of conditions and the following disclaimer.
-
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -23,20 +23,18 @@
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
+
# Modified by SlackBuilds.org --dsomero,rworkman
PRGNAM=ffmpeg2theora
-VERSION=0.24
-BUILD=${BUILD:-2}
+VERSION=0.27
+BUILD=${BUILD:-1}
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
@@ -54,7 +52,7 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
-set -e
+set -e ### exit on most errors
rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -68,23 +66,18 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-### make & install using scons
scons install APPEND_CCFLAGS="$SLKCFLAGS" prefix=/usr destdir=$PKG
-### copying essential doc files
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-
-cp -a AUTHORS COPYING ChangeLog INSTALL README TODO \
-subtitles.txt $PKG/usr/doc/$PRGNAM-$VERSION
-
-### strip binaries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( 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
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog INSTALL README TODO subtitles.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.info b/multimedia/ffmpeg2theora/ffmpeg2theora.info
index 928000b266da..628a3cb0544e 100644
--- a/multimedia/ffmpeg2theora/ffmpeg2theora.info
+++ b/multimedia/ffmpeg2theora/ffmpeg2theora.info
@@ -1,10 +1,10 @@
PRGNAM="ffmpeg2theora"
-VERSION="0.24"
+VERSION="0.27"
HOMEPAGE="http://v2v.cc/~j/ffmpeg2theora/"
-DOWNLOAD="http://v2v.cc/~j/ffmpeg2theora/ffmpeg2theora-0.24.tar.bz2"
-MD5SUM="8cf34f36bbebededb67c7bf8dadc388f"
+DOWNLOAD="http://v2v.cc/~j/ffmpeg2theora/downloads/ffmpeg2theora-0.27.tar.bz2"
+MD5SUM="ec6bc7418aeb37f20759280f236c214a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="Erik Hanson"
+APPROVED="rworkman"
diff --git a/multimedia/ffmpeg2theora/slack-desc b/multimedia/ffmpeg2theora/slack-desc
index 41ee3ec1ed66..34dab8e524ba 100644
--- a/multimedia/ffmpeg2theora/slack-desc
+++ b/multimedia/ffmpeg2theora/slack-desc
@@ -7,9 +7,9 @@
|-----handy-ruler------------------------------------------------------|
ffmpeg2theora: ffmpeg2theora (simple command line video transcoder)
-ffmpeg2theora:
-ffmpeg2theora: ffmpeg2theora is a simple command line video transcoder to
-ffmpeg2theora: convert files to Ogg Theora using ffmpeg.
+ffmpeg2theora:
+ffmpeg2theora: ffmpeg2theora is a simple command line video transcoder
+ffmpeg2theora: to convert files to Ogg Theora using ffmpeg.
ffmpeg2theora:
ffmpeg2theora: Home Page http://v2v.cc/~j/ffmpeg2theora/
ffmpeg2theora: