$ readelf -d /usr/lib64/vlc/plugins/codec/libgstdecode_plugin.so |grep gst 0x0000000000000001 (NEEDED) Shared library: [libgstvideo-1.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgstapp-1.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgstbase-1.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgstreamer-1.0.so.0] Reproducible: Always
$ readelf -d /usr/lib64/vlc/plugins/codec/libgstdecode_plugin.so |grep -E 'gobj|glib' 0x0000000000000001 (NEEDED) Shared library: [libgobject-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0]
Please attach output of "emerge --info vlc"
Created attachment 408320 [details] emerge --info vlc
Also automagic dependency on egl: !!! existing preserved libs: >>> package: media-libs/mesa-9999 * - /usr/lib64/libEGL.so.1 * - /usr/lib64/libEGL.so.1.0.0 * used by /usr/lib64/vlc/plugins/video_output/libegl_x11_plugin.so (media-video/vlc-2.2.1)
It seems it also builds opengl output via glx and egl without USE=opengl.
Created attachment 426284 [details] vlc-2.2.2.ebuild Updated VLC-2.2.2 ebuild with a gstreamer USE flag. There's no longer a mechanism to turn off OpenGL from configure (will likely eventually remove the USE flag).
USE=gstreamer is part of vlc-2.2.9999 ebuild so should be fixed with the next version bump.
All affected versions were removed from tree.