@csts - I commented on your issue but mirroring here for coverage:
Please see line 24 in the PKGBUILD wherein you need to define the _renderer
variable to a value of either gles
or gl
.
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=kodi-git#n24
Pinned Comments
graysky commented on 2022-06-11 11:49 (UTC)
@laichiaheng - kodi is bound to a specific version of ffmpeg which is generally older than Arch's package. We avoid incompatibilities by using that specific version (ie internal ffmpeg). Recommend that you build kodi in clean chroot. See: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
I wrote a script that automates much of that called clean-chroot-manager offered here in the AUR.