[MacPorts] #60440: scrcpy : display and control of Android devices

MacPorts noreply at macports.org
Tue May 5 16:26:40 UTC 2020


#60440: scrcpy : display and control of Android devices
-----------------------+--------------------
 Reporter:  jbouttier  |      Owner:  (none)
     Type:  request    |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:             |       Port:
-----------------------+--------------------
 Hi,

 I'd like to suggest creating a port for
 [https://github.com/Genymobile/scrcpy scrcpy]
 (see also its [https://en.wikipedia.org/wiki/Scrcpy 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
 [https://github.com/Genymobile/scrcpy/blob/master/BUILD.md 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 ?

-- 
Ticket URL: <https://trac.macports.org/ticket/60440>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list