2019-07-17 06:20:17 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
2020-02-18 01:37:31 -07:00
|
|
|
--cc="${CC:-cc}" \
|
|
|
|
--cxx="${CXX:-c++}" \
|
2019-07-17 06:20:17 -06:00
|
|
|
--prefix=/usr \
|
2019-09-16 06:59:09 -06:00
|
|
|
--enable-shared \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-gpl \
|
|
|
|
--enable-version3 \
|
2020-05-04 16:45:47 -06:00
|
|
|
--enable-nonfree \
|
|
|
|
--enable-openssl \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-libass \
|
|
|
|
--enable-libmp3lame \
|
|
|
|
--enable-libopus \
|
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-libvpx \
|
|
|
|
--enable-libx264 \
|
|
|
|
--enable-libx265 \
|
|
|
|
--enable-libxvid \
|
|
|
|
--enable-libwebp \
|
2019-09-16 06:59:09 -06:00
|
|
|
--enable-libdrm \
|
2020-02-28 03:37:03 -07:00
|
|
|
--x86asmexe=nasm \
|
2020-09-17 00:00:27 -06:00
|
|
|
--disable-debug \
|
|
|
|
--disable-libxml2
|
2019-07-17 06:20:17 -06:00
|
|
|
|
2020-02-18 01:37:31 -07:00
|
|
|
make
|
2019-07-17 06:20:17 -06:00
|
|
|
make DESTDIR="$1" install
|
2019-08-18 18:39:07 -06:00
|
|
|
|
|
|
|
rm -rf "$1/usr/share/ffmpeg/examples"
|