This adds a 'gbm' flavor to kodi-devel with which we can run Kodi
directly from the console without Xorg or a Wayland compositor.
The gbm flavor requires graphics/drm-next-kmod and evdev support, so
there is no much point in building it for FreeBSD 11.1.
This also adds preliminary Wayland support to kodi-devel. It requires
a new port graphics/waylandpp (C++ bindings for Wayland) [1] that can
only be built when graphics/mesa-libs has been built with WAYLAND
support, which is still off by default, so I have not added it to
FLAVORS yet.
I hope I can get approval to commit it to the tree. Though kodi-devel
won't built on 12.0-CURRENT until the fix for RapidJSON (D13599) is
committed.
[1] https://github.com/t6/freebsd-ports-sndio/blob/sndio-rebase/graphics/waylandpp