Try only building mpv.
This commit is contained in:
parent
bb6786221a
commit
e15acd0949
|
@ -12,13 +12,13 @@ before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get -y install libmpv1 libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-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
|
- sudo apt-get build-dep libmpv1 libmpv-dev
|
||||||
- source /opt/qt*/bin/qt*-env.sh
|
- source /opt/qt*/bin/qt*-env.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- #export PATH="/usr/lib/ccache:$PATH"
|
- export PATH="/usr/lib/ccache:$PATH"
|
||||||
- #bash scripts/build-mpv.sh
|
- bash scripts/build-mpv.sh
|
||||||
- qmake CONFIG+=release PREFIX=/usr
|
- qmake CONFIG+=release PREFIX=/usr
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
|
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
|
||||||
|
|
|
@ -1,10 +1,17 @@
|
||||||
#!/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
|
||||||
|
|
||||||
./rebuild -j`nproc`
|
|
||||||
sudo ./install
|
./bootstrap.py
|
||||||
|
./waf configure `cat mpv_options`
|
||||||
|
./waf -j`nproc`
|
||||||
|
sudo ./waf install
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue