2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/extra/ffmpeg/build
2023-11-10 18:04:12 -06:00

38 lines
778 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < add-av_stream_get_first_dts-for-chromium.patch
./configure \
--cc="$CC" \
--cxx="$CXX" \
--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"