mirror of https://github.com/odrling/Aegisub
Patch ffmpeg wrap to compile with simd extensions
This is very hacky and only intended to get these extensions working on the Windows CI builds.
This commit is contained in:
parent
1772dd17ae
commit
77cc1a6b22
|
@ -83,7 +83,7 @@ jobs:
|
||||||
- name: Install dependencies (Windows)
|
- name: Install dependencies (Windows)
|
||||||
if: matrix.config.os == 'windows-latest'
|
if: matrix.config.os == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
choco install ninja innosetup
|
choco install ninja innosetup yasm
|
||||||
$url = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip"
|
$url = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip"
|
||||||
mkdir moonscript
|
mkdir moonscript
|
||||||
Invoke-WebRequest -Uri $url -OutFile ".\moonscript\moonscript.zip"
|
Invoke-WebRequest -Uri $url -OutFile ".\moonscript\moonscript.zip"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
directory = ffmpeg
|
directory = ffmpeg
|
||||||
url = https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg.git
|
url = https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg.git
|
||||||
revision = meson-4.4
|
revision = meson-4.4
|
||||||
|
patch_directory = ffmpeg
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
libavformat = libavformat_dep
|
libavformat = libavformat_dep
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
libavutil_x86_sources = files(
|
||||||
|
'cpu.c',
|
||||||
|
'fixed_dsp_init.c',
|
||||||
|
'float_dsp_init.c',
|
||||||
|
'imgutils_init.c',
|
||||||
|
'lls_init.c',
|
||||||
|
)
|
||||||
|
|
||||||
|
libavutil_x86_optional_sources = {
|
||||||
|
'pixelutils' : files('pixelutils_init.c'),
|
||||||
|
}
|
||||||
|
|
||||||
|
libavutil_x86_x86asm_sources = files(
|
||||||
|
'cpuid.asm',
|
||||||
|
'emms.asm',
|
||||||
|
'fixed_dsp.asm',
|
||||||
|
'float_dsp.asm',
|
||||||
|
'imgutils.asm',
|
||||||
|
'lls.asm',
|
||||||
|
)
|
||||||
|
|
||||||
|
libavutil_x86_x86asm_optional_sources = {
|
||||||
|
'pixelutils' : files('pixelutils.asm'),
|
||||||
|
}
|
||||||
|
|
||||||
|
libavutil_x86_mmx_optional_sources = {
|
||||||
|
}
|
||||||
|
|
||||||
|
libavutil_x86_optional_tests = {
|
||||||
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue