-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathPrep_System.sh
More file actions
executable file
·24 lines (22 loc) · 824 Bytes
/
Copy pathPrep_System.sh
File metadata and controls
executable file
·24 lines (22 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
set -x
#This script will install dependencies needed for building ffmpeg. You likely need to run it with sudo.
apt update
apt install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 yasm make automake autoconf git pkg-config libtool nasm mercurial cmake python3 python3-pip python3-setuptools python3-wheel gperf gettext autopoint byacc flex ragel gtk-doc-tools meson subversion
pip3 install docwriter
#Install c2man: Needed for libfribidi and not available via apt
mkdir -p prep
pushd prep || exit
c2man_path=$(which c2man)
if [ ! $c2man_path ]; then #Doesn't seem to work if there is no c2man installed?
if [ ! -d ./c2man ]; then
git clone https://github.com/fribidi/c2man.git
fi
pushd c2man || exit
./Configure -d -e
make depend
make
make install
popd || exit
fi
popd || exit