New comment by st3r4g on void-packages repository https://github.com/void-linux/void-packages/pull/15683#issuecomment-545405051 Comment: Now xbps-src doesn't need to change, and also possible user confusion is reduced because the debug info is contained in a file named as the megadriver (e.g. `libmesa_dri_drivers.so`) instead of one of the hard link names at random. For this I needed to introduce a single-line patch that retains the original megadriver hard link name. - [x] an improvement would be to move files to subpackages only if they get created to eliminate the ugly checks for architectures inside the `*_package()` - [x] dummy packages must be set up to migrate users from the old `mesa-*-dri` packages - [x] make the new `mesa-dri-*` packages be pulled in by `libGL` instead of `xf86-video-*` I believe that the dri drivers are required (at runtime) by `libGL` (otherwise mesa-loader fails when opening GL applications) and not by the DDX drivers, which I see as a (legacy and optional) replacement of the in-kernel modesetting drivers, but I might be wrong. To summarize: - `mesa-ati-dri`, `mesa-intel-dri`, `mesa-nouveau-dri`, `mesa-vmwgfx-dri`, `mesa-vc4-dri`, `mesa-tegra-dri` are now empty packages. The dri libraries they contained are replaced by `mesa-dri-classic` and `mesa-dri-gallium` - The other files (non dri libraries) are moved in the new packages `mesa-vdpau`, `mesa-XvMC`, `mesa-vulkan-intel`, `mesa-vulkan-radeon` - `libGL` now depends on `mesa-dri-classic` and `mesa-dri-gallium`. Actually the plan for the future would be to make `mesa-dri-classic` a legacy option, but it's not possible now because `i965` is classic-only and its Gallium replacement, `iris`, is still experimental.