Commit Graph

3 Commits

Author SHA1 Message Date
Romain Vimont d2e8f93a73 Add cross/native and shared/static for deps
Make dependencies build scripts more flexible, to accept a build type
(native or cross) and a link type (static or shared).

This will allow to build binaries for Linux and macOS.
2024-11-22 22:23:37 +01:00
Romain Vimont 1569de761b Extract args processing in deps scripts
Extract the code which process arguments to a function.

This will make it optional, so that the script which just
downloads the official adb binaries does not use arguments.
2024-11-22 22:23:37 +01:00
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