From bd4ec8e4e1e9a18a8c667a0265fe2bb0e324f8bc Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Tue, 7 Nov 2017 22:02:03 +1100 Subject: appveyor: update ffmpeg and test d3d11/vulkan Build ffmpeg-mpv, shaderc and crossc from source, since they are not packaged in MSYS2. Also, add some more explicit --enable flags to the mpv build to make sure things like D3D11, D3D11VA hwaccels and Vulkan are auto-detected. --- TOOLS/appveyor-build.sh | 9 +++++-- TOOLS/appveyor-install.sh | 62 ++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 57 insertions(+), 14 deletions(-) (limited to 'TOOLS') diff --git a/TOOLS/appveyor-build.sh b/TOOLS/appveyor-build.sh index f6c94fb90b..8796118df3 100755 --- a/TOOLS/appveyor-build.sh +++ b/TOOLS/appveyor-build.sh @@ -10,7 +10,10 @@ export PYTHON=/usr/bin/python3 "$PYTHON" bootstrap.py "$PYTHON" waf configure \ --check-c-compiler=gcc \ - --disable-cdda \ + --disable-egl-angle-lib \ + --enable-crossc \ + --enable-d3d-hwaccel \ + --enable-d3d11 \ --enable-egl-angle \ --enable-jpeg \ --enable-lcms2 \ @@ -18,5 +21,7 @@ export PYTHON=/usr/bin/python3 --enable-libass \ --enable-lua \ --enable-rubberband \ - --enable-uchardet + --enable-shaderc \ + --enable-uchardet \ + --enable-vulkan "$PYTHON" waf build diff --git a/TOOLS/appveyor-install.sh b/TOOLS/appveyor-install.sh index b0d276eab7..6ae8f34ea3 100755 --- a/TOOLS/appveyor-install.sh +++ b/TOOLS/appveyor-install.sh @@ -1,15 +1,6 @@ #!/usr/bin/bash set -e -case $MSYSTEM in -MINGW32) - export MINGW_PACKAGE_PREFIX=mingw-w64-i686 - ;; -MINGW64) - export MINGW_PACKAGE_PREFIX=mingw-w64-x86_64 - ;; -esac - # Write an empty fonts.conf to speed up fc-cache export FONTCONFIG_FILE=/dummy-fonts.conf cat >"$FONTCONFIG_FILE" <