You could compile GoldenDict without ffmpeg support at all, that's the simplest way. But, naturally, you'll lose the internal audio player (although, an external player can be used with no problems).
Here's how to do that:
https://github.com/goldendict/goldendic ... dio-playerAlternatively, if you really wish to build goldendict with custom-built ffmpeg, you need to provide the PKGCONFIG entries for the following libs:
- ao
- libavutil
- libavformat
- libavcodec
Look for
*.pc files in the location where you've installed your custom-built ffmpeg libs, and then adjust the PKG_CONFIG_PATH variable to include that path, e.g:
- Code: Select all
export PKG_CONFIG_PATH=/opt/lib/pkgconfig:$PKG_CONFIG_PATH