summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-01 15:24:45 +0000
committerSam James <sam@gentoo.org>2021-03-01 15:26:35 +0000
commit248f884d5a9f81a33f2e317aff99d9049bb2ad3d (patch)
tree99fa6bc4a11f938392658fd05c4b64810b7e883b /net-misc/turbovnc
parentnet-misc/turbovnc: make Java support optional, use system libraries (diff)
downloadgentoo-248f884d5a9f81a33f2e317aff99d9049bb2ad3d.tar.gz
gentoo-248f884d5a9f81a33f2e317aff99d9049bb2ad3d.tar.bz2
gentoo-248f884d5a9f81a33f2e317aff99d9049bb2ad3d.zip
net-misc/turbovnc: add desktop menu entry for Viewer
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/turbovnc')
-rw-r--r--net-misc/turbovnc/turbovnc-2.2.6.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/turbovnc/turbovnc-2.2.6.ebuild b/net-misc/turbovnc/turbovnc-2.2.6.ebuild
index 741bb109f455..93c2f6b76e26 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