This package is pretty annoying, and requires fiddling with package config. The default package config directory is in /lib/pkgconfig and you may have to manually copy .cp files from /opt/ffmpeg/local/lib/pkgconfig to be able to build things that require it