-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-ubuntu.sh
More file actions
executable file
·45 lines (42 loc) · 873 Bytes
/
Copy pathbuild-ubuntu.sh
File metadata and controls
executable file
·45 lines (42 loc) · 873 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
apt-get -y install build-essential curl tar pkg-config
apt-get -y --force-yes install \
wget \
autoconf \
automake \
build-essential \
cmake \
frei0r-plugins-dev \
gawk \
libass-dev \
libfreetype6-dev \
libopencore-amrnb-dev \
libopencore-amrwb-dev \
libsdl1.2-dev \
libspeex-dev \
libssl-dev \
libtheora-dev \
libtool \
libva-dev \
libvdpau-dev \
libvo-amrwbenc-dev \
libvorbis-dev \
libwebp-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
libxvidcore-dev \
pkg-config \
texi2html \
zlib1g-dev
# For 12.04
# libx265 requires cmake version >= 2.8.8
# 12.04 only have 2.8.7
ubuntu_version=`lsb_release -rs`
need_ppa=`echo $ubuntu_version'<=12.04' | bc -l`
if [ $need_ppa -eq 1 ]; then
add-apt-repository ppa:roblib/ppa
apt-get -y update
apt-get -y install cmake
fi
./build.sh "$@"