aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/CMakeLists.txt28
-rw-r--r--vncviewer/org.tigervnc.vncviewer.metainfo.xml.in45
2 files changed, 73 insertions, 0 deletions
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt
index 9acceedf..7d4455a8 100644
--- a/vncviewer/CMakeLists.txt
+++ b/vncviewer/CMakeLists.txt
@@ -103,6 +103,34 @@ if(UNIX)
add_custom_target(desktop ALL DEPENDS vncviewer.desktop)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/vncviewer.desktop DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/applications)
+ if("${GETTEXT_VERSION_STRING}" VERSION_GREATER 0.19.6)
+ add_custom_command(OUTPUT org.tigervnc.vncviewer.metainfo.xml
+ COMMAND ${GETTEXT_MSGFMT_EXECUTABLE}
+ --xml --template ${CMAKE_CURRENT_SOURCE_DIR}/org.tigervnc.vncviewer.metainfo.xml.in
+ -d ${CMAKE_SOURCE_DIR}/po -o org.tigervnc.vncviewer.metainfo.xml
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/org.tigervnc.vncviewer.metainfo.xml.in
+ )
+ elseif(INTLTOOL_MERGE_EXECUTABLE)
+ add_custom_command(OUTPUT org.tigervnc.vncviewer.metainfo.xml
+ COMMAND sed -e 's@<name>@<_name>@\;s@</name>@</_name>@'
+ -e 's@<summary>@<_summary>@\;s@</summary>@</_summary>@'
+ -e 's@<caption>@<_caption>@\;s@</caption>@</_caption>@'
+ -e 's@<p>@<_p>@g\;s@</p>@</_p>@g'
+ ${CMAKE_CURRENT_SOURCE_DIR}/org.tigervnc.vncviewer.metainfo.xml.in > org.tigervnc.vncviewer.metainfo.xml.intl
+ COMMAND ${INTLTOOL_MERGE_EXECUTABLE}
+ -x ${CMAKE_SOURCE_DIR}/po
+ org.tigervnc.vncviewer.metainfo.xml.intl org.tigervnc.vncviewer.metainfo.xml
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/org.tigervnc.vncviewer.metainfo.xml.in
+ )
+ else()
+ add_custom_command(OUTPUT org.tigervnc.vncviewer.metainfo.xml
+ COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/org.tigervnc.vncviewer.metainfo.xml.in org.tigervnc.vncviewer.metainfo.xml
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/org.tigervnc.vncviewer.metainfo.xml.in
+ )
+ endif()
+ add_custom_target(appstream ALL DEPENDS org.tigervnc.vncviewer.metainfo.xml)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.tigervnc.vncviewer.metainfo.xml DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/metainfo)
+
foreach(res 16 22 24 32 48)
install(FILES ../media/icons/tigervnc_${res}.png DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/icons/hicolor/${res}x${res}/apps RENAME tigervnc.png)
endforeach()
diff --git a/vncviewer/org.tigervnc.vncviewer.metainfo.xml.in b/vncviewer/org.tigervnc.vncviewer.metainfo.xml.in
new file mode 100644
index 00000000..6e982573
--- /dev/null
+++ b/vncviewer/org.tigervnc.vncviewer.metainfo.xml.in
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ (c) 2021-2022 Joachim Falk <joachim.falk@gmx.de>
+
+ Copying and distribution of this file, with or without modification, are
+ permitted in any medium without royalty provided the copyright notice and this
+ notice are preserved. This file is offered as-is, without any warranty.
+-->
+<component type="desktop-application">
+ <id>org.tigervnc.vncviewer</id>
+ <metadata_license>FSFAP</metadata_license>
+ <project_license>GPL-2.0-or-later</project_license>
+ <name>TigerVNC Viewer</name>
+ <summary>Connect to VNC server and display remote desktop</summary>
+ <content_rating type="oars-1.1"/>
+ <description>
+ <p>
+ Virtual Network Computing (VNC) is a remote display system that allows you to view and interact with a virtual desktop environment running on another computer on the network.
+ Using VNC, you can run graphical applications on a remote machine and send only the display from these applications to your local device.
+ This package contains a client which will enable you to connect to other desktops running a VNC server.
+ VNC is platform-independent and supports various operating systems and architectures as both servers and clients.
+ </p>
+ <p>
+ TigerVNC is a high-speed version of VNC based on the RealVNC 4 and X.org code bases.
+ TigerVNC started as a next-generation development effort for TightVNC on Unix and Linux platforms, but it split from its parent project in early 2009 so that TightVNC could focus on Windows platforms.
+ TigerVNC supports a variant of Tight encoding that is greatly accelerated by the use of the libjpeg-turbo JPEG codec.
+ </p>
+ </description>
+
+ <launchable type="desktop-id">vncviewer.desktop</launchable>
+ <screenshots>
+ <screenshot type="default">
+ <caption>TigerVNC Viewer connection to a CentOS machine</caption>
+ <image>https://raw.githubusercontent.com/TigerVNC/tigervnc/741d3edbfab65eda6f033078bc06347fe244ea6a/vncviewer/metainfo/tigervnc-connection-linux.jpg</image>
+ </screenshot>
+ <screenshot>
+ <caption>TigerVNC Viewer connection to a macOS machine</caption>
+ <image>https://raw.githubusercontent.com/TigerVNC/tigervnc/741d3edbfab65eda6f033078bc06347fe244ea6a/vncviewer/metainfo/tigervnc-connection-macos.jpg</image>
+ </screenshot>
+ <screenshot>
+ <caption>TigerVNC Viewer connection to a Windows machine</caption>
+ <image>https://raw.githubusercontent.com/TigerVNC/tigervnc/741d3edbfab65eda6f033078bc06347fe244ea6a/vncviewer/metainfo/tigervnc-connection-windows.jpg</image>
+ </screenshot>
+ </screenshots>
+</component>