Most users won't be "confused". Anyone who hasn't seen it before will most likely assume it is some sort of variable assignment, which is good enough if they intend to stick with the default. Anyone who wants to know more can read my previous comment explaining what it is, look it up in the bash man page, or ask an AI.
Alternatively, to avoid overriding user settings, you could comment out the _clangbuild=
, and change _renderer=gles
to:
[ -z "$_renderer" ] && _renderer=gles
Or drop the assignment and replace all usage with ${_renderer:-gles}
.
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.