Warning, file /packaging/appimage-packaging/kdenlive/scripts/x264.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #!/bin/bash
0002 set -e
0003 set -x
0004 
0005 
0006 function error_exit
0007 {
0008         echo "$1" 1>&2
0009         exit 1
0010 }
0011 
0012 if wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2; then
0013         mkdir x264 &&   tar xjvf last_x264.tar.bz2 -C x264 --strip-components 1
0014 
0015 else
0016         error_exit "$LINENO: An error has occurred.. Aborting."
0017 fi
0018 if cd x264; then
0019           ./configure --enable-static --enable-shared --prefix=/opt/usr
0020           make -j4 && sudo make install
0021 else
0022         error_exit "$LINENO: An error has occurred.. Aborting."
0023 fi