Warning, file /packaging/appimage-packaging/kdenlive/scripts/x265.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 function error_exit
0006 {
0007         echo "$1" 1>&2
0008         exit 1
0009 }
0010 
0011 if wget http://ftp.videolan.org/pub/videolan/x265/x265_2.3.tar.gz; then
0012         tar xvf x265_2.3.tar.gz
0013 else
0014         error_exit "$LINENO: An error has occurred.. Aborting."
0015 fi
0016 
0017 if cd x265_2.3/build/linux; then
0018           cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/opt/usr" -DENABLE_PIC=ON -DENABLE_SHARED=ON ../../source
0019           make -j4 && sudo make install
0020 else
0021         error_exit "$LINENO: An error has occurred.. Aborting."
0022 fi