repo/extra/ffmpeg/build

38 lines
767 B
Plaintext
Raw Normal View History

2019-07-17 06:20:17 -06:00
#!/bin/sh -e
2022-03-31 08:55:34 -06:00
patch -p1 < add-av_stream_get_first_dts-for-chromium.patch
2019-07-17 06:20:17 -06:00
./configure \
2021-07-17 12:45:52 -06:00
--cc="$CC" \
--cxx="$CXX" \
2019-07-17 06:20:17 -06:00
--prefix=/usr \
--disable-debug \
--disable-libxml2 \
2021-07-05 06:06:05 -06:00
--disable-static \
2021-07-08 09:08:05 -06:00
--disable-libxcb \
--disable-libxcb-shm \
--disable-libxcb-xfixes \
--disable-libxcb-shape \
--disable-xlib \
2019-07-24 00:52:04 -06:00
--enable-gpl \
--enable-libass \
--enable-libdrm \
2019-07-24 00:52:04 -06:00
--enable-libmp3lame \
--enable-libopus \
--enable-libvorbis \
--enable-libvpx \
--enable-libwebp \
2019-07-24 00:52:04 -06:00
--enable-libx264 \
--enable-libx265 \
--enable-libxvid \
--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
make
2021-07-17 12:45:52 -06:00
make install
2019-08-18 18:39:07 -06:00
rm -rf "$1/usr/share/ffmpeg/examples"