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 \
|
2021-07-05 17:09:48 -06:00
|
|
|
--disable-debug \
|
|
|
|
--disable-libxml2 \
|
2021-07-05 06:06:05 -06:00
|
|
|
--disable-static \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-gpl \
|
|
|
|
--enable-libass \
|
2021-07-05 17:09:48 -06:00
|
|
|
--enable-libdrm \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-libmp3lame \
|
|
|
|
--enable-libopus \
|
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-libvpx \
|
2021-07-05 17:09:48 -06:00
|
|
|
--enable-libwebp \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-libx264 \
|
|
|
|
--enable-libx265 \
|
|
|
|
--enable-libxvid \
|
2021-07-05 17:09:48 -06:00
|
|
|
--enable-nonfree \
|
|
|
|
--enable-openssl \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-version3 \
|
2020-02-28 03:37:03 -07:00
|
|
|
--x86asmexe=nasm \
|
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"
|