Opened 4 years ago

Last modified 3 years ago

#61668 closed defect

ffmpeg 4.3.1: fails to install on Apple Silicon — at Version 1

Reported by: jpanetta (Julian Panetta) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbe5007 (Dan Elbich), jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description (last modified by jpanetta (Julian Panetta))

ffmpeg currently does not install on Apple Silicon due to unsupported/broken dependencies on arm64: rsvg, x264, libvpx, and soxr. I have managed to fix all of these except rsvg with the following pull requests/commits:

https://github.com/jpanetta/macports-ports/commit/bd5c4becfb398ffd1b4555e38663448a2208d132 https://github.com/macports/macports-ports/pull/9252 https://github.com/macports/macports-ports/pull/9253

I did not create a pull request for my x264 fix since I'm not sure it is acceptable to use a commit on master instead of stable (which doesn't support Apple Silicon yet). Also, the old PPC assembly patch needs to be updated.

Unfortunately, rsvg looks more difficult because of its rust dependency, so I just disabled it in the commit here:

https://github.com/jpanetta/macports-ports/commit/d282ae91bfabf4dc97af3f592238c03cf6b69051

Would something like this (restricted to the arm64 build architecture) be acceptable as a temporary workaround?

Change History (1)

comment:1 Changed 4 years ago by jpanetta (Julian Panetta)

Description: modified (diff)
Note: See TracTickets for help on using tickets.