2021-05-31, 07:34
(2021-05-30, 14:17)graysky Wrote:(2021-05-30, 14:15)deadite66 Wrote: i just cloned https://aur.archlinux.org/kodi-git.git then ran makepkg -s
Right, but just like the official PKGBUILD, this will build all three targets, gbm, wayland, and x11. I am asking which one fails for you.
Code:...
echo "building kodi-wayland"
cmake "${_args[@]}" -DCORE_PLATFORM_NAME=wayland ../"$_gitname"
make
echo "building kodi-gbm"
cmake "${_args[@]}" -DCORE_PLATFORM_NAME=gbm ../"$_gitname"
make
# build x11 version last that will make it fallback in the launcher script
echo "building kodi-x11"
cmake "${_args[@]}" -DCORE_PLATFORM_NAME=x11 ../"$_gitname"
make
out of interest: why are you building 3 times, when you can have X11, Wayland, GBM in a single binary? The overhead in the binary is minimal, compared to building 3 times