fix?
This commit is contained in:
parent
cf45e683b5
commit
e39534a65e
|
@ -1,18 +1,20 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CFLAGS="-fPIC -Os"
|
CFLAGS="-fPIC -Os"
|
||||||
|
|
||||||
git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true
|
rm -rf mpv-build && git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build
|
||||||
cd mpv-build
|
cd mpv-build
|
||||||
|
|
||||||
git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg || true
|
rm -rf ffmpeg && git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg
|
||||||
git clone --depth 1 https://github.com/mpv-player/mpv.git mpv || true
|
rm -rf mpv && git clone --depth 1 https://github.com/mpv-player/mpv.git mpv
|
||||||
git clone --depth 1 https://github.com/libass/libass.git libass || true
|
rm -rf libass && git clone --depth 1 https://github.com/libass/libass.git libass
|
||||||
|
|
||||||
echo "--enable-libmpv-shared --prefix=/usr" > mpv_options
|
echo "--enable-libmpv-shared --prefix=/usr" > mpv_options
|
||||||
echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options
|
echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options
|
||||||
|
|
||||||
./build -j`nproc`
|
./rebuild -j`nproc`
|
||||||
sudo ./install
|
sudo ./install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
export PATH="/usr/lib/ccache:/usr/lib/ccache/bin:$PATH"
|
export PATH="/usr/lib/ccache:/usr/lib/ccache/bin:$PATH"
|
||||||
|
|
||||||
bash scripts/build-mpv.sh
|
bash scripts/build-mpv.sh
|
||||||
|
|
Loading…
Reference in a new issue