commit:     24573b0a4f74201e83a85599748c9948799f0a32
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sat Apr 17 14:44:13 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Apr 17 14:44:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24573b0a

gui-libs/egl-wayland: add compatibility info to postinst messages

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild 
b/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
index 931329d094c..5592ca6a5cd 100644
--- a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
@@ -48,5 +48,13 @@ pkg_postinst() {
                elog "Can be accomplished by:"
                elog "  echo 'options nvidia-drm modeset=1' > 
${EROOT}/etc/modprobe.d/nvidia-drm.conf"
                elog "...then reloading the module."
+               elog
+               elog "Note that EGLStream requires support from the wayland 
compositor and"
+               elog "is not currently supported by many popular options such 
as gui-wm/sway."
+       fi
+
+       if has_version "<x11-drivers/nvidia-drivers-391"; then
+               ewarn "<=nvidia-drivers-390.xx may not work properly with this 
version of"
+               ewarn "egl-wayland, it is recommended to use nouveau drivers 
for wayland."
        fi
 }

Reply via email to