aboutsummaryrefslogtreecommitdiff
path: root/multimedia/cinelerra/cinelerra.SlackBuild
diff options
context:
space:
mode:
authorDanny Schmarsel <danny@schmarsel.de>2015-10-23 11:50:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-23 11:50:39 +0700
commit9c6ab49f59ff66d2291677731b4787ded1ba5f6c (patch)
tree9dcddcdc20df5970b43ea0152e0562358ef5abda /multimedia/cinelerra/cinelerra.SlackBuild
parenta9902270f25119680ae5af532d83b9ec4b74a35e (diff)
multimedia/cinelerra: Updated for version cv_2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/cinelerra/cinelerra.SlackBuild')
-rw-r--r--multimedia/cinelerra/cinelerra.SlackBuild29
1 files changed, 14 insertions, 15 deletions
diff --git a/multimedia/cinelerra/cinelerra.SlackBuild b/multimedia/cinelerra/cinelerra.SlackBuild
index 9642f9a0bb39..ab3d600603cd 100644
--- a/multimedia/cinelerra/cinelerra.SlackBuild
+++ b/multimedia/cinelerra/cinelerra.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cinelerra
-# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
+# Copyright 2015 by Danny Schmarsel <danny@schmarsel.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cinelerra
-VERSION=${VERSION:-cv_2.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-cv_2.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,19 +65,19 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM
+rm -rf CinelerraCV-2.3
+tar xvf $CWD/CinelerraCV-2.3.tar.xz
+cd CinelerraCV-2.3
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Patches (from gentoo repository)
-# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/cinelerra/files/
-for i in $CWD/patches/* ; do patch -p1 < $i ; done
+# Patches (from the official website) for compatibility with ffmpeg-2.x
+patch -p1 < $CWD/patches/cinelerra-cv-ffmpeg_api2.2.patch
+patch -p1 < $CWD/patches/cinelerra-cv-ffmpeg2.0.patch
./autogen.sh
@@ -106,8 +106,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README* TODO \
+cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild