New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build all dependencies for Windows releases #4713
Conversation
Upgrading libusb to 1.0.27 should fix #3654 |
I changed the directory structure for something more consistent:
That way, a simple |
hi, are you planning to develop a build for windows arm64? I can still use the 64bit version but the transmission is quite delayed |
Probably not for now. Maybe later when CI is enabled to build all the versions. |
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 <#4713>
Legitimate or not, we should not use sources that do not match the repository. Refs <libusb/libusb#1468 (comment)> Refs <https://news.ycombinator.com/item?id=39866309> Refs #4713 <#4713>
Remove the mechanism to download (and link against) pre-built dependencies, and add a new mechanism to download the dependencies sources and build them.
Executing
./release.sh
builds everything.Here are 32-bit and 64-bit Windows binaries for the current
dev
branch:scrcpy-win32-builtdeps.zip
SHA-256: 7e07dd4a24e84988ec582360a92a0e06aa1d32ae5742347da6634d3fe32b18d
scrcpy-win64-builtdeps.zip
SHA-256: e66cae74480ca0a90e08fc2c0a1808ce3ce138007ed30d7dcf698707ed41fa9
Please test that it works correctly on your Windows.