summaryrefslogtreecommitdiffstats
path: root/TOOLS/appveyor-install.sh
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-01-10 05:54:25 +0100
committerDudemanguy <random342@airmail.cc>2023-01-28 01:03:12 +0000
commitbc1af592db53f8b80256a75ebce4cc1da8c1d601 (patch)
tree0ea17905388ee9af5e01394cbcb858d988736090 /TOOLS/appveyor-install.sh
parentc3149d9fc27cb4f3d7ad619796065b8e8aaee876 (diff)
downloadmpv-bc1af592db53f8b80256a75ebce4cc1da8c1d601.tar.bz2
mpv-bc1af592db53f8b80256a75ebce4cc1da8c1d601.tar.xz
ci: migrate MSYS2 build to GitHub Actions
Diffstat (limited to 'TOOLS/appveyor-install.sh')
-rwxr-xr-xTOOLS/appveyor-install.sh54
1 files changed, 0 insertions, 54 deletions
diff --git a/TOOLS/appveyor-install.sh b/TOOLS/appveyor-install.sh
deleted file mode 100755
index 95e4f7b4ed..0000000000
--- a/TOOLS/appveyor-install.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/bash
-set -e
-
-export PYTHON=/usr/bin/python3
-
-# Write an empty fonts.conf to speed up fc-cache
-export FONTCONFIG_FILE=/dummy-fonts.conf
-cat >"$FONTCONFIG_FILE" <<EOF
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig></fontconfig>
-EOF
-
-# Install build dependencies for mpv
-pacman -S --noconfirm --needed \
- $MINGW_PACKAGE_PREFIX-toolchain \
- $MINGW_PACKAGE_PREFIX-cmake \
- $MINGW_PACKAGE_PREFIX-lcms2 \
- $MINGW_PACKAGE_PREFIX-libarchive \
- $MINGW_PACKAGE_PREFIX-libass \
- $MINGW_PACKAGE_PREFIX-libjpeg-turbo \
- $MINGW_PACKAGE_PREFIX-libplacebo \
- $MINGW_PACKAGE_PREFIX-lua51 \
- $MINGW_PACKAGE_PREFIX-ninja \
- $MINGW_PACKAGE_PREFIX-rubberband \
- $MINGW_PACKAGE_PREFIX-shaderc \
- $MINGW_PACKAGE_PREFIX-spirv-cross \
- $MINGW_PACKAGE_PREFIX-uchardet \
- $MINGW_PACKAGE_PREFIX-vulkan
-
-# Delete unused packages to reduce space used in the Appveyor cache
-pacman -Sc --noconfirm
-
-# Compile ffmpeg
-(
- git clone --depth=1 https://github.com/FFmpeg/ffmpeg.git && cd ffmpeg
-
- mkdir build && cd build
- ../configure \
- --prefix=$MINGW_PREFIX \
- --target-os=mingw32 \
- --arch=$MSYSTEM_CARCH \
- --disable-static \
- --disable-doc \
- --disable-asm \
- --enable-gpl \
- --enable-version3 \
- --enable-shared \
- --enable-pic \
- --enable-d3d11va \
- --enable-dxva2 \
- --enable-schannel
- make -j4 install
-)