repo/extra/ffmpeg/build
2020-02-28 12:37:03 +02:00

28 lines
533 B
Bash
Executable File

#!/bin/sh -e
./configure \
--cc="${CC:-cc}" \
--cxx="${CXX:-c++}" \
--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 \
--x86asmexe=nasm \
--disable-debug
make
make DESTDIR="$1" install
rm -rf "$1/usr/share/ffmpeg/examples"