-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.sh
executable file
·13 lines (11 loc) · 955 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
./configure --disable-static --enable-shared --prefix=${PWD}/_install \
--enable-libfdk-aac --enable-nonfree --enable-avfilter --enable-avdevice --enable-avcodec --enable-avformat \
--enable-network --enable-hwaccels --enable-ffplay --enable-ffmpeg --enable-ffprobe --enable-postproc --enable-swscale \
--enable-librga --enable-pthreads --enable-zlib --enable-openssl --enable-libdrm --enable-rkmpp --enable-version3 --enable-libdrm \
--enable-libx264 --enable-libx265 --enable-libvpx --enable-gpl --enable-sdl --disable-doc \
--disable-decoder=h264_v4l2m2m --disable-decoder=hevc_v4l2m2m --disable-decoder=vp8_v4l2m2m --disable-decoder=mpeg4_v4l2m2m \
--disable-encoder=h264_v4l2m2m --disable-encoder=hevc_v4l2m2m --disable-encoder=vp8_v4l2m2m --disable-encoder=mpeg4_v4l2m2m
patchelf --set-rpath '$ORIGIN/../lib' ./ffplay
patchelf --set-rpath '$ORIGIN/../lib' ./ffmpeg
patchelf --set-rpath '$ORIGIN/../lib' ./ffprobe