#60440 closed request (fixed)
scrcpy : display and control of Android devices
Reported by: | jbouttier | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description
Hi,
I'd like to suggest creating a port for scrcpy (see also its Wikipedia page). It allows to view and control the display of (sufficiently recent) Android devices with USB debugging enabled.
I managed to compile the client using just already existing ports. See the build instructions which suggests using Homebrew :
# runtime dependencies brew install sdl2 ffmpeg # client build dependencies brew install pkg-config meson
Fortunately this is easy to adapt to MacPorts : replace "brew" by "port" and "sdl2" by "libsdl2". One also needs the port android-platform-tools since scrcpy uses adb.
I did not try to compile the server (executed on the Android device), as it requires the Android SDK, etc. But the precompiled server works fine, provided it matches the version of the client. I am not sure how the server could be provided via MacPorts (after all, it is just a "firmware" not to be executed on the Mac), but maybe this issue was already resolved for other ports ?
Change History (3)
comment:1 Changed 4 years ago by Marcel Bochtler <marcel.bochtler@…>
comment:2 Changed 4 years ago by harens (Haren S)
Resolution: | → fixed |
---|---|
Status: | new → closed |
In a87c04a2c9472c0925ffc9a4260a8fd849788f86/macports-ports (master):