commit:     248f884d5a9f81a33f2e317aff99d9049bb2ad3d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  1 15:24:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  1 15:26:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=248f884d

net-misc/turbovnc: add desktop menu entry for Viewer

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/turbovnc/turbovnc-2.2.6.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-misc/turbovnc/turbovnc-2.2.6.ebuild 
b/net-misc/turbovnc/turbovnc-2.2.6.ebuild
index 741bb109f45..93c2f6b76e2 100644
--- a/net-misc/turbovnc/turbovnc-2.2.6.ebuild
+++ b/net-misc/turbovnc/turbovnc-2.2.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake java-pkg-opt-2
+inherit desktop cmake java-pkg-opt-2
 
 DESCRIPTION="A fast replacement for TigerVNC"
 HOMEPAGE="https://www.turbovnc.org/";
@@ -55,6 +55,7 @@ src_install() {
 
        if use java ; then
                java-pkg_dojar "${BUILD_DIR}"/java/VncViewer.jar
+               make_desktop_entry vncviewer "TurboVNC Viewer" 
/usr/share/icons/hicolor/48x48/apps/turbovnc.png
        fi
 
        find "${ED}/usr/share/man/man1/" -name Xserver.1\* -print0 | xargs -0 
rm || die

Reply via email to