net-im/zoom: Add README.gentoo about display compositing.
authorUlrich Müller <ulm@gentoo.org>
Tue, 12 May 2020 09:30:42 +0000 (11:30 +0200)
committerUlrich Müller <ulm@gentoo.org>
Tue, 12 May 2020 09:30:42 +0000 (11:30 +0200)
Closes: https://bugs.gentoo.org/722430
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
net-im/zoom/files/README.gentoo [new file with mode: 0644]
net-im/zoom/zoom-5.0.403652.0509.ebuild

diff --git a/net-im/zoom/files/README.gentoo b/net-im/zoom/files/README.gentoo
new file mode 100644 (file)
index 0000000..06f1f9b
--- /dev/null
@@ -0,0 +1,5 @@
+Some of Zoom's screen share features (e.g., the whiteboard) require
+display compositing. If you encounter a black window when sharing
+the screen, then one of the following actions should help:
+- Enable compositing in your window manager if it is supported
+- Alternatively, run the xcompmgr command (from x11-misc/xcompmgr)
index f2a3aea4c103c3cbe57fd9410c362108cc710369..314ddbedc6b4928506b6351e91527bd66381651e 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop eutils xdg-utils
+inherit desktop eutils readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="Video conferencing and web conferencing service"
 HOMEPAGE="https://zoom.us/"
@@ -86,11 +86,18 @@ src_install() {
        # white on a blue background
        doicon -s scalable "${FILESDIR}"/zoom-videocam.svg
        doicon -s 24 "${FILESDIR}"/zoom-videocam.xpm
+       readme.gentoo_create_doc
 }
 
 pkg_postinst() {
        xdg_desktop_database_update
        xdg_icon_cache_update
+
+       local FORCE_PRINT_ELOG v
+       for v in ${REPLACING_VERSIONS}; do
+               ver_test ${v} -le 5.0.403652.0509 && FORCE_PRINT_ELOG=1
+       done
+       readme.gentoo_print_elog
 }
 
 pkg_postrm() {