After a bit of research I stumbled across the ffmpeg-compat package and its respective eclass and decided to try to edit the ebuild to change the dependencies from ffmpeg to ffmpeg-compat:4.
I followed the wiki for ffmpeg-compat.eclass and looked at ebuilds using it as an example, before adding the following to my ebuild:
Code: Select all
src_configure() {
ffmpeg_compat_setup 4
ffmpeg_compat_add_flags
}
Code: Select all
Illegal parameter: -L/usr/lib/ffmpeg4/lib64Code: Select all
fpc -Si -Sg -Sc -v0Binwe -Xs -O4 -k"-z noexecstack" "-L/usr/lib/ffmpeg4/lib64" -Fi../src/lib/JEDI-SDL/SDL/Pas -Fu. -FU../dists/linux/fpc-x86_64-linux -o../game/WorldParty WorldParty.dprCode: Select all
-Fl/usr/lib/ffmpeg4/lib64Please consider that I am actually a complete noob in ebuild writing and have never done anything more complex than patching a makefile or editing dependency versions / paths.


