repo/extra/ffmpeg/build
2021-07-08 18:08:05 +03:00

36 lines
733 B
Bash
Executable File

#!/bin/sh -e
./configure \
--cc="${CC:-cc}" \
--cxx="${CXX:-c++}" \
--prefix=/usr \
--disable-debug \
--disable-libxml2 \
--disable-static \
--disable-libxcb \
--disable-libxcb-shm \
--disable-libxcb-xfixes \
--disable-libxcb-shape \
--disable-xlib \
--enable-gpl \
--enable-libass \
--enable-libdrm \
--enable-libmp3lame \
--enable-libopus \
--enable-libvorbis \
--enable-libvpx \
--enable-libwebp \
--enable-libx264 \
--enable-libx265 \
--enable-libxvid \
--enable-nonfree \
--enable-openssl \
--enable-shared \
--enable-version3 \
--x86asmexe=nasm \
make
make DESTDIR="$1" install
rm -rf "$1/usr/share/ffmpeg/examples"