#68338 closed enhancement (fixed)

scrcpy @2.1: possible to restore legacy OS X support?

Reported by: aprovera Owned by: aprovera <64255236+aprovera@…>
Priority: Low Milestone:
Component: ports Version: 2.8.1
Keywords: legacy-os elcapitan yosemite mavericks mountainlion lion Cc: MarcelBochtler (Marcel Bochtler)
Port: scrcpy

Description (last modified by aprovera)

I noticed that builds on older OS X versions like El Capitan, Yosemite and Mavericks fail due to some missing functions, like clock_gettime and static_assert.

There's a MacPorts package to add support for those functions on older system versions: https://ports.macports.org/port/legacy-support/details/

I wonder if adding the legacysupport PortGroup to the Portfile, as instructed on the package's GitHub, could restore support for those old OS X versions?

Change History (3)

comment:1 Changed 12 months ago by aprovera

Description: modified (diff)
Keywords: elcapitan yosemite mavericks mountainlion lion added

comment:2 Changed 12 months ago by aprovera

My Pull Request adds legacysupport to the Portfile (alongside an update to 2.1.1, and another Portfile change requested by a Contributor), and I'm pleased to report I've successfully built scrcpy 2.1.1 on a Mac running El Capitan.

There is an issue with android-platform-tools (see relevant ticket); the last version that works on the aforementioned Mac running El Capitan, which has a Core 2 Duo processor, is 31.0.3_0. Using that version, I can control my phone using scrcpy with no issues.

Hopefully the android-platform-tools can be fixed; if not, users on old OS X versions could be served with android-platform-tools @31.0.3_0. I assume that's something that would need to be done on their side, though.

Version 0, edited 12 months ago by aprovera (next)

comment:3 Changed 12 months ago by aprovera <64255236+aprovera@…>

Owner: set to aprovera <64255236+aprovera@…>
Resolution: fixed
Status: newclosed

In 31ca158c24c9c4d4328bf27ad3c36c548b39ca1a/macports-ports (master):

scrcpy: Update to version 2.1.1, add legacysupport PortGroup

  • update to version 2.1.1
  • add legacysupport PortGroup
  • add github.tarball_from

Closes: #68338

Note: See TracTickets for help on using tickets.