From edd21bbf2db040844154ce40f7f3581c1766392a Mon Sep 17 00:00:00 2001 From: Kitteh Date: Thu, 25 Oct 2018 12:22:42 +0100 Subject: [PATCH] [Scripts] Try to add vapoursynth support. --- .travis.yml | 3 ++- scripts/build-mpv.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b366956..83d1ecd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,10 +14,11 @@ before_install: - sudo rm -rf /var/cache/apt/archives - sudo ln -s $HOME/.cache/apt /var/cache/apt/archives - sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial -y + - sudo add-apt-repository ppa:djcj/vapoursynth -y - sudo apt-get update install: - - sudo apt-get -y install libxpm-dev libcurl3 libcurl4-openssl-dev automake libtool desktop-file-utils libjack0 libjack-dev nasm ccache qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev checkinstall + - sudo apt-get -y install vapoursynth libxpm-dev libcurl3 libcurl4-openssl-dev automake libtool desktop-file-utils libjack0 libjack-dev nasm ccache qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libgl1-mesa-dev checkinstall - sudo apt-get build-dep libmpv1 - source /opt/qt*/bin/qt*-env.sh diff --git a/scripts/build-mpv.sh b/scripts/build-mpv.sh index 32b6c43..197ae19 100755 --- a/scripts/build-mpv.sh +++ b/scripts/build-mpv.sh @@ -17,7 +17,7 @@ rm -rf ffmpeg mpv libass echo ' ' > ffmpeg_options echo "--disable-programs --disable-runtime-cpudetect --enable-small" >> ffmpeg_options -echo "--enable-libmpv-shared --prefix=/usr" > mpv_options +echo "--enable-libmpv-shared --prefix=/usr --enable-vapoursynth" > 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 --disable-wayland" >> mpv_options ./rebuild -j`nproc`