1
0
Fork 0

Try only building mpv.

This commit is contained in:
NamedKitten 2018-10-14 19:17:16 +01:00
parent bb6786221a
commit e15acd0949
2 changed files with 15 additions and 8 deletions

View file

@ -12,13 +12,13 @@ before_install:
- sudo apt-get update
install:
- sudo apt-get -y install libmpv1 libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev
- #sudo apt-get build-dep libmpv1 libmpv-dev
- sudo apt-get -y install ccache libmpv1 libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev
- sudo apt-get build-dep libmpv1 libmpv-dev
- source /opt/qt*/bin/qt*-env.sh
script:
- #export PATH="/usr/lib/ccache:$PATH"
- #bash scripts/build-mpv.sh
- export PATH="/usr/lib/ccache:$PATH"
- bash scripts/build-mpv.sh
- qmake CONFIG+=release PREFIX=/usr
- make -j$(nproc)
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/

View file

@ -1,10 +1,17 @@
#!/bin/bash
git clone --depth 1 https://github.com/mpv-player/mpv-build
cd mpv-build
#git clone --depth 1 https://github.com/mpv-player/mpv-build
#cd mpv-build
export PATH="/usr/lib/ccache:$PATH"
git clone --depth 1 https://github.com/mpv-player/mpv
cd mpv
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
./rebuild -j`nproc`
sudo ./install
./bootstrap.py
./waf configure `cat mpv_options`
./waf -j`nproc`
sudo ./waf install
cd ..