-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathffmpeg.src.pb
57 lines (57 loc) · 1.27 KB
/
ffmpeg.src.pb
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
46
47
48
49
50
51
52
53
54
55
56
57
---
- hosts: all
vars:
TYPE: ffmpeg
INSTANCE: git
REPO: git://source.ffmpeg.org/ffmpeg.git
OPT_DIR: True
BINS:
- name: build.sh
exec: |
./configure \
--prefix="/opt/{{NAME}}" \
--extra-libs="-lpthread -lm" \
--enable-gpl \
--enable-libaom \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-nonfree
#--pkg-config-flags="--static" \
#--extra-cflags="-I$HOME/ffmpeg_build/include" \
#--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
#--bindir="$HOME/bin" \
make
make install
PKGS:
- libaom-dev
- libass-dev
- libfdk-aac-dev
- libfreetype6-dev
- libmp3lame-dev
- libnuma-dev
- libopus-dev
- libsdl2-dev
- libtool
- libva-dev
- libvdpau-dev
- libvorbis-dev
- libvpx-dev
- libxcb1-dev
- libxcb-shm0-dev
- libxcb-xfixes0-dev
- libx264-dev
- libx265-dev
- nasm
- texinfo
- wget
- yasm
- zlib1g-dev
tasks:
- include: tasks/compfuzor.includes type=src