Allow users to build the port against multimedia/ffmpeg (0.7.x API). This makes it possible to choose a custom set of codecs, easier debugging with well-tested/patched ffmpeg version and faster build.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-multimedia Over to maintainer (via the GNATS Auto Assign Tool)
Will be an any reaction to this PR?
Created attachment 146644 [details] add FFMPEG option Rebase and use option helpers. Apply after bug 181964.
Created attachment 146645 [details] |poudriere testport| log, FFMPEG=off
Comment on attachment 146644 [details] add FFMPEG option Oops, FFPMEG=on is broken by last minute change and missing libavcodec0.so (0 suffix) in LIB_DEPENDS.
Created attachment 146646 [details] add FFMPEG option
Created attachment 146647 [details] |poudriere testport| log, FFMPEG=on
Created attachment 146648 [details] |poudriere testport| log, FFMPEG=off
This patch does not apply cleanly versus a pristine tree. The post-patch looks different. Could you double-check?
Per comment 3: apply after bug 181964. Moving directories within any *-patch target is confusing, even worse with post-patch. If we have CVE patch under files/ directory fixing an issue in libav-0.7.7 it would be silently ignored becasue it would end up in libav.old, not connected to the build.
Committed in r367713 along the fix for bug 181964