-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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>
scrcpy v2.4 Changes since v2.3.1: - Add UHID keyboard and mouse support (Genymobile#4473) - Simulate tilt multitouch by pressing Shift (Genymobile#4529) - Add rotation support for non-default display (Genymobile#4698) - Improve audio player (Genymobile#4572) - Adapt to display API changes in Android 15 (Genymobile#4646, Genymobile#4656, Genymobile#4657) - Adapt audio workarounds to Android 14 (Genymobile#4492) - Fix clipboard for IQOO devices on Android 14 (Genymobile#4492, Genymobile#4589, Genymobile#4703) - Fix integer overflow for audio packet duration (Genymobile#4536) - Rework cleanup (Genymobile#4649) - Upgrade FFmpeg to 6.1.1 in Windows releases (Genymobile#4713) - Upgrade libusb to 1.0.27 in Windows releases (Genymobile#4713) - Various technical fixes
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 Genymobile#4713 <Genymobile#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 Genymobile#4713 <Genymobile#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.