2018-05-13 22:03:39 +08:00
|
|
|
.PHONY: prepare-win32 prepare-win64 \
|
2022-01-18 02:00:39 +08:00
|
|
|
prepare-ffmpeg-win32 \
|
|
|
|
prepare-ffmpeg-win64 \
|
2018-05-13 22:03:39 +08:00
|
|
|
prepare-sdl2 \
|
|
|
|
prepare-adb
|
|
|
|
|
2022-01-18 02:00:39 +08:00
|
|
|
prepare-win32: prepare-sdl2 prepare-ffmpeg-win32 prepare-adb
|
|
|
|
prepare-win64: prepare-sdl2 prepare-ffmpeg-win64 prepare-adb
|
2018-05-13 22:03:39 +08:00
|
|
|
|
2022-01-18 02:11:23 +08:00
|
|
|
# Use old FFmpeg version for win32, there are no new prebuilts
|
2022-01-18 02:00:39 +08:00
|
|
|
prepare-ffmpeg-win32:
|
2020-12-12 22:57:54 +08:00
|
|
|
@./prepare-dep https://github.com/Genymobile/scrcpy/releases/download/v1.16/ffmpeg-4.3.1-win32-shared.zip \
|
2020-08-07 03:00:48 +08:00
|
|
|
357af9901a456f4dcbacd107e83a934d344c9cb07ddad8aaf80612eeab7d26d2 \
|
|
|
|
ffmpeg-4.3.1-win32-shared
|
2020-12-12 22:57:54 +08:00
|
|
|
@./prepare-dep https://github.com/Genymobile/scrcpy/releases/download/v1.16/ffmpeg-4.3.1-win32-dev.zip \
|
2020-08-07 03:00:48 +08:00
|
|
|
230efb08e9bcf225bd474da29676c70e591fc94d8790a740ca801408fddcb78b \
|
|
|
|
ffmpeg-4.3.1-win32-dev
|
2022-01-18 02:04:18 +08:00
|
|
|
ln -sf ../ffmpeg-4.3.1-win32-dev/include ffmpeg-4.3.1-win32-shared/
|
2018-05-13 22:03:39 +08:00
|
|
|
|
2022-01-18 02:00:39 +08:00
|
|
|
prepare-ffmpeg-win64:
|
2022-01-18 02:11:23 +08:00
|
|
|
@./prepare-dep https://github.com/GyanD/codexffmpeg/releases/download/5.0/ffmpeg-5.0-full_build-shared.7z \
|
|
|
|
e5900f6cecd4c438d398bd2fc308736c10b857cd8dd61c11bcfb05bff5d1211a \
|
|
|
|
ffmpeg-5.0-full_build-shared
|
2018-05-13 22:03:39 +08:00
|
|
|
|
|
|
|
prepare-sdl2:
|
2022-01-28 02:00:03 +08:00
|
|
|
@./prepare-dep https://libsdl.org/release/SDL2-devel-2.0.20-mingw.tar.gz \
|
|
|
|
38094d82a857d6c62352e5c5cdec74948c5b4d25c59cbd298d6d233568976bd1 \
|
|
|
|
SDL2-2.0.20
|
2018-05-13 22:03:39 +08:00
|
|
|
|
|
|
|
prepare-adb:
|
2022-01-29 18:46:39 +08:00
|
|
|
@./prepare-dep https://dl.google.com/android/repository/platform-tools_r31.0.3-windows.zip \
|
|
|
|
0f4b8fdd26af2c3733539d6eebb3c2ed499ea1d4bb1f4e0ecc2d6016961a6e24 \
|
2018-05-13 22:03:39 +08:00
|
|
|
platform-tools
|