aboutsummaryrefslogtreecommitdiff
path: root/multimedia/cinelerra/cinelerra.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-16 07:02:24 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:41 -0400
commitcdd811af8e7244b3446cd052b43cae21acd7d5d6 (patch)
tree6ac8af4bca96867a5e2fc594c0d4f317d97174c1 /multimedia/cinelerra/cinelerra.SlackBuild
parent43c6222a6ba51d7c0563710d6d3535e62dd3f2a4 (diff)
multimedia/cinelerra: Updated for version cv_2.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/cinelerra/cinelerra.SlackBuild')
-rw-r--r--multimedia/cinelerra/cinelerra.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/cinelerra/cinelerra.SlackBuild b/multimedia/cinelerra/cinelerra.SlackBuild
index d4c95b7c4a77e..5e2f369ca08d9 100644
--- a/multimedia/cinelerra/cinelerra.SlackBuild
+++ b/multimedia/cinelerra/cinelerra.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cinelerra
-VERSION=${VERSION:-cv_2.1.5}
+VERSION=${VERSION:-cv_2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,7 +66,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM
chown -R root:root .
find . \
@@ -75,13 +75,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patches (from gentoo repository) for drop v4l1 support and fix from upstream to build with ffmpeg trunk.
+# Patches (from gentoo repository)
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/cinelerra/files/
-patch -p1 < $CWD/ffmpeg.patch
-patch -p1 < $CWD/cinelerra-v4l1_removal.patch
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
./autogen.sh
+LDFLAGS="-ldl" \
CFLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" \
CXXFLAGS="$SLKCFLAGS -D__STDC_CONSTANT_MACROS" \
./configure \