app-emulation/open-vm-tools: ask to remove old x11-drivers/xf86-video-vmware driver

After upgrading to Mesa 25.2 and up, the old vmware video driver could still
be installed in the system, and it won't allow to use the modesetting video
driver.

Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/44920
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Cristian Othón Martínez Vera
2026-01-10 12:53:45 +00:00
committed by Sam James
parent dd6b9e072a
commit ca04d6ced1
3 changed files with 12 additions and 0 deletions
@@ -159,6 +159,10 @@ src_install() {
pkg_postinst() {
udev_reload
if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then
elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver."
fi
}
pkg_postrm() {
@@ -160,6 +160,10 @@ src_install() {
pkg_postinst() {
udev_reload
if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then
elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver."
fi
}
pkg_postrm() {
@@ -157,6 +157,10 @@ src_install() {
pkg_postinst() {
udev_reload
if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then
elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver."
fi
}
pkg_postrm() {