Please?
This commit is contained in:
parent
e15acd0949
commit
cb0c605314
|
@ -9,11 +9,12 @@ cache:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y
|
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y
|
||||||
|
- sudo add-apt-repository ppa:mc3man/xerus-media -y
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get -y install ccache libmpv1 libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev
|
- sudo apt-get -y install ccache libmpv-dev libmpv1 qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libavcodec-dev libavcodec-extra libgl1-mesa-dev
|
||||||
- sudo apt-get build-dep libmpv1 libmpv-dev
|
- sudo apt-get dist-upgrade
|
||||||
- source /opt/qt*/bin/qt*-env.sh
|
- source /opt/qt*/bin/qt*-env.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -1,17 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#git clone --depth 1 https://github.com/mpv-player/mpv-build
|
git clone --depth 1 https://github.com/mpv-player/mpv-build
|
||||||
#cd 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 --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
|
||||||
|
|
||||||
|
|
||||||
./bootstrap.py
|
|
||||||
./waf configure `cat mpv_options`
|
|
||||||
./waf -j`nproc`
|
|
||||||
sudo ./waf install
|
|
||||||
|
|
||||||
|
./rebuild -j`nproc`
|
||||||
|
sudo ./install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue