aboutsummaryrefslogtreecommitdiff
path: root/media/video/cinelerra/cinelerra.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'media/video/cinelerra/cinelerra.SlackBuild')
-rwxr-xr-xmedia/video/cinelerra/cinelerra.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/media/video/cinelerra/cinelerra.SlackBuild b/media/video/cinelerra/cinelerra.SlackBuild
index 288664ef..fe809f39 100755
--- a/media/video/cinelerra/cinelerra.SlackBuild
+++ b/media/video/cinelerra/cinelerra.SlackBuild
@@ -72,6 +72,13 @@ if [ "$ARCH" == "i586" ]; then
EXTRA_ACFLAGS=" --enable-mmx"
fi
+if [ "HAVE_ALTIVEC" == "true" ]; then
+ EXTRA_ACFLAGS=" --enable-altivec"
+ if [ -f "$CWD/$PACKAGE-altivec.diff"]; then
+ patch -p0 < $CWD/$PACKAGE-altivec.diff || exit $ERROR_PATCH
+ fi
+fi
+
./autogen.sh || exit $ERROR_CONF
./configure --prefix=/usr --libdir=$LIBDIR $EXTRA_ACFLAGS || exit $ERROR_CONF
make || exit $ERROR_MAKE