scrcpy/app/deps
Romain Vimont 8d87b91f69 Build dependencies from sources
The project has 3 build dependencies:
 - SDL
 - FFmpeg
 - libusb

For Windows, the release script downloaded pre-built build dependencies
(either from upstream, or from the scrcpy-deps repository).

Instead, download the source releases and build locally. This offers
more flexibility.

The official adb release is still downloaded and included as is in the
release archive (it is not a build dependency).

Also upgrade FFmpeg to 6.1.1 and libusb to 1.0.27.

PR #4713 <https://github.com/Genymobile/scrcpy/pull/4713>
2024-03-02 22:52:54 +01:00
..
patches Build dependencies from sources 2024-03-02 22:52:54 +01:00
.gitignore Build dependencies from sources 2024-03-02 22:52:54 +01:00
adb.sh Build dependencies from sources 2024-03-02 22:52:54 +01:00
common Build dependencies from sources 2024-03-02 22:52:54 +01:00
ffmpeg.sh Build dependencies from sources 2024-03-02 22:52:54 +01:00
libusb.sh Build dependencies from sources 2024-03-02 22:52:54 +01:00
README Build dependencies from sources 2024-03-02 22:52:54 +01:00
sdl.sh Build dependencies from sources 2024-03-02 22:52:54 +01:00

This directory (app/deps/) contains:

*.sh          : shell scripts to download and build dependencies

patches/      : patches to fix dependencies (used by scripts)

work/sources/ : downloaded tarballs and extracted folders
                    ffmpeg-6.1.1.tar.xz
                    ffmpeg-6.1.1/
                    libusb-1.0.27.tar.gz
                    libusb-1.0.27/
                    ...
work/build/   : build dirs for each dependency/version/architecture
                    ffmpeg-6.1.1/win32/
                    ffmpeg-6.1.1/win64/
                    libusb-1.0.27/win32/
                    libusb-1.0.27/win64/
                    ...
work/install/ : install dirs for each architexture
                    win32/bin/
                    win32/include/
                    win32/lib/
                    win32/share/
                    win64/bin/
                    win64/include/
                    win64/lib/
                    win64/share/