2019-07-17 06:20:17 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2019-09-16 06:59:09 -06:00
|
|
|
--enable-shared \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-gpl \
|
|
|
|
--enable-version3 \
|
|
|
|
--enable-libass \
|
|
|
|
--enable-libmp3lame \
|
|
|
|
--enable-libopus \
|
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-libtheora \
|
|
|
|
--enable-libvpx \
|
|
|
|
--enable-libx264 \
|
|
|
|
--enable-libx265 \
|
|
|
|
--enable-libxvid \
|
|
|
|
--enable-libwebp \
|
2019-09-16 06:59:09 -06:00
|
|
|
--enable-libdrm \
|
|
|
|
--disable-debug
|
2019-07-17 06:20:17 -06:00
|
|
|
|
2020-02-12 00:10:07 -07:00
|
|
|
make CC="${CC:-cc}"
|
2019-07-17 06:20:17 -06:00
|
|
|
make DESTDIR="$1" install
|
2019-08-18 18:39:07 -06:00
|
|
|
|
|
|
|
# Remove examples.
|
|
|
|
rm -rf "$1/usr/share/ffmpeg/examples"
|