aboutsummaryrefslogtreecommitdiff
path: root/extra/ffmpeg/build
blob: db997201666af255f38a17f63d15c99542005145 (plain)
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
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --enable-shared \
    --enable-gpl \
    --enable-version3 \
    --enable-libass \
    --enable-libmp3lame \
    --enable-libopus \
    --enable-libvorbis \
    --enable-libtheora \
    --enable-libvpx \
    --enable-libx264 \
    --enable-libx265 \
    --enable-libxvid \
    --enable-libwebp \
    --enable-libdrm \
    --disable-debug

make CC="${CC:-gcc}"
make DESTDIR="$1" install

# Remove examples.
rm -rf "$1/usr/share/ffmpeg/examples"