0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/qt5-qtwebengine/9999-generate-ffmpeg-headers.patch.beforehostbuild
2023-06-18 13:50:41 +08:00

22 lines
757 B
Plaintext

--- a/src/3rdparty/chromium/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
+++ b/src/3rdparty/chromium/third_party/ffmpeg/chromium/scripts/build_ffmpeg.py
@@ -37,7 +37,7 @@
'android': ['ia32', 'x64', 'arm-neon', 'arm64'],
'linux': [
'ia32', 'x64', 'mipsel', 'mips64el', 'noasm-x64', 'arm', 'arm-neon',
- 'arm64'
+ 'arm64', 'noasm-ia32'
],
'mac': ['x64', 'arm64'],
'win': ['ia32', 'x64', 'arm64'],
@@ -580,6 +580,9 @@
if target_os == 'linux' and target_arch == 'noasm-x64':
target_os = 'linux-noasm'
target_arch = 'x64'
+ if target_os == 'linux' and target_arch == 'noasm-ia32':
+ target_os = 'linux-noasm'
+ target_arch = 'ia32'
configure_flags = collections.defaultdict(list)