It seems ffmpeg4 is not usable as a way to provide a dependency for non-pkgsrc software to use (e.g., home assistant integrations in a venv). The problem is that it installs pkg-config files in the wrong place: /usr/pkg/lib/ffmpeg4/pkgconfig/libavcodec.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libavdevice.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libavfilter.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libavformat.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libavresample.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libavutil.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libpostproc.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libswresample.pc /usr/pkg/lib/ffmpeg4/pkgconfig/libswscale.pc which is not where anything looks. It also installs ffmpeg4. With pkg_alternatives, I get an alternative wrapper at ffmpeg. I worked around this by symlinking the above into the right place, /usr/pkg/lib/pkgconfig. Is this a bug in the ffmpeg4 package that it shoulde include pkgconfig in alternatives, a bug in alternatives that it doesn't handle this, or a bug in ffmpeg4 to choose this parallel-install-but-wrong-place approach, or something else?
Attachment:
signature.asc
Description: PGP signature