2019-07-17 06:20:17 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2024-06-11 19:28:28 -06:00
|
|
|
patch -p1 < gcc-14.patch
|
2024-05-27 13:18:08 -06:00
|
|
|
|
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 \
|
2021-07-05 17:09:48 -06:00
|
|
|
--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 \
|
2021-07-05 17:09:48 -06:00
|
|
|
--enable-libdrm \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-libmp3lame \
|
|
|
|
--enable-libopus \
|
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-libvpx \
|
2021-07-05 17:09:48 -06:00
|
|
|
--enable-libwebp \
|
2019-07-24 00:52:04 -06:00
|
|
|
--enable-libx264 \
|
|
|
|
--enable-libx265 \
|
|
|
|
--enable-libxvid \
|
2021-07-05 17:09:48 -06:00
|
|
|
--enable-nonfree \
|
|
|
|
--enable-openssl \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-version3 \
|
2023-08-21 16:55:39 -06:00
|
|
|
--x86asmexe=nasm
|
2019-07-17 06:20:17 -06:00
|
|
|
|
2020-02-18 01:37:31 -07:00
|
|
|
make
|
2023-03-02 07:40:00 -07:00
|
|
|
make DESTDIR="$1" install
|
2019-08-18 18:39:07 -06:00
|
|
|
|
|
|
|
rm -rf "$1/usr/share/ffmpeg/examples"
|