popcornmix: Thanks for your reply! I now replaced the official kodi package with yours but the latest patches don't work with your codebase. Do you have a working patch set or a working libreelec commit?
You need to remove some of the existing patches that conflict.
I have a script that does:
rm -f ~/projects/http://LibreELEC.tv/projects/RPi/devices/RPi4/patches/kodi/000*
rm -f ~/projects/http://LibreELEC.tv/projects/RPi/devices/RPi2/patches/kodi/000*
rm -f ~/projects/http://LibreELEC.tv/packages/mediacenter/kodi/patches/kodi-999.01-pr20210-drmprime-coordinates.patch
and I create the new patch with:
git diff-index $HASH --binary > /tmp/000-popcornmix-gbm.patch
where HASH comes from PKG_VERSION= in ~/projects/http://LibreELEC.tv/packages/mediacenter/kodi/package.mk