32 lines
619 B
Bash
Executable File
32 lines
619 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--cc="${CC:-cc}" \
|
|
--cxx="${CXX:-c++}" \
|
|
--prefix=/usr \
|
|
--enable-lto \
|
|
--enable-shared \
|
|
--enable-gpl \
|
|
--enable-version3 \
|
|
--enable-nonfree \
|
|
--enable-libass \
|
|
--enable-libmp3lame \
|
|
--enable-libopus \
|
|
--enable-libvorbis \
|
|
--enable-libvpx \
|
|
--enable-libx264 \
|
|
--enable-libx265 \
|
|
--enable-libxvid \
|
|
--enable-libwebp \
|
|
--enable-libdrm \
|
|
--x86asmexe=nasm \
|
|
--disable-debug \
|
|
--disable-libxml2 \
|
|
--enable-ffplay \
|
|
--disable-static
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
rm -rf "$1/usr/share/ffmpeg/examples"
|