X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=af39c89e19f8b9f9f5e251426d3b10bb8ba9d01b;hp=270a2e2efec05b297c627c15b53a991b7139806a;hb=1519e0fc595a18ee2ec76e4607d9d82e75b26d44;hpb=96e282c4262cc0b4076472a60b9f870e279e1c0b diff --git a/CMakeLists.txt b/CMakeLists.txt index 270a2e2e..af39c89e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -468,6 +468,13 @@ install(FILES doc/pulseview.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT # Install the desktop file. install(FILES contrib/org.sigrok.PulseView.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications) +# Install the AppData/AppStream file. +install(FILES contrib/org.sigrok.PulseView.appdata.xml DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo) + +# Install the PulseView icons. +install(FILES icons/pulseview.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/48x48/apps) +install(FILES icons/pulseview.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps) + # Generate Windows installer script. configure_file(contrib/pulseview_cross.nsi.in contrib/pulseview_cross.nsi @ONLY)