[Bug 261302] multimedia/ffmpeg: update to 6.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Jun 2023 12:32:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261302

--- Comment #106 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Daniel Engberg from comment #90)
> I should've phrased it better, I can't figure out a good way of making LiVES pick the "correct" FFmpeg library in a dirty environment (if you have both ffmpeg and ffmpeg4 installed).
I found how to build it in system with ffmpeg4 installed and without ffmpeg-6
installed. So build work in poudriere with minimal changes in Makefile.

But for build on live system with both ffmpegs installed I found only one way -
make symlinks on all ffmpeg4 libs with digit "4" and end:
libavutil4.so -> libavutil.so
libavutil4.so.56 -> libavutil.so.56
libavutil4.so.56.70.100 -> libavutil.so.56.70.100
And use something like this in Makefile:
CONFIGURE_ARGS+= LIBAVCODEC_LIBS="-L${LOCALBASE}/ffmpeg4/lib -lavcodec4"

-- 
You are receiving this mail because:
You are on the CC list for the bug.