mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-25 00:22:19 +00:00
38cdcdda50
This aims to fix two issues with the previous implementation: 1. the whole content of downloaded archives were extracted, while only few files are necessary; 2. the archives were extracted in the prebuild-deps/ directory as is. As a consequence of (2), the actual directory name relied on the root directory of the archive. For adb, this root directory was always "platform-tools", so when bumping the adb version, the target directory already existed and the dependency was not upgraded (the old one had to be removed manually). Expose common function to download a file and check its checksum, but let the custom script for each dependency extract only the needed files and reorganize the content if necessary.
24 lines
551 B
Plaintext
24 lines
551 B
Plaintext
# apt install mingw-w64 mingw-w64-tools
|
|
|
|
[binaries]
|
|
name = 'mingw'
|
|
c = 'x86_64-w64-mingw32-gcc'
|
|
cpp = 'x86_64-w64-mingw32-g++'
|
|
ar = 'x86_64-w64-mingw32-ar'
|
|
strip = 'x86_64-w64-mingw32-strip'
|
|
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
|
|
windres = 'x86_64-w64-mingw32-windres'
|
|
|
|
[host_machine]
|
|
system = 'windows'
|
|
cpu_family = 'x86'
|
|
cpu = 'x86_64'
|
|
endian = 'little'
|
|
|
|
[properties]
|
|
ffmpeg_avcodec = 'avcodec-59'
|
|
ffmpeg_avformat = 'avformat-59'
|
|
ffmpeg_avutil = 'avutil-57'
|
|
prebuilt_ffmpeg = 'ffmpeg-win64-5.0'
|
|
prebuilt_sdl2 = 'SDL2-2.0.20/x86_64-w64-mingw32'
|