Follow-up from "Remove useless files from mesa extension"
The following discussion from !1299 (merged) should be addressed:
-
@abderrahimk started a discussion: (+5 comments) I don't like the fact that gbm is tucked away in
%{libdir}/GL/default/
. To use it, one needs to set the PKG_CONFIG_PATH when building, and LD_LIBRARY_PATH at runtime (and thus in elements that depend on it to build). For instance, I had to set PKG_CONFIG_PATH in mutter, and LD_LIBRARY_PATH in gnome-shell.If gbm is not needed by mesa, and shouldn't in the flatpak runtimes at all, then it may indeed be better to build it separately.