jellyfin-media-player/CMakeModules/InstallLinuxDesktopFile.cmake
Rasmus Thomsen e6ce493412 LinuxConfiguration: Install desktop files&icons
The desktop files (entries) are required to launch plexmediaplayer
via a GUI (instead of launching it via a terminal), the accompanying
icon is required so that the desktop entry has an icon.
Until now distros had to carry downstream patches to install
desktop files and plex's icons, with this commit we install
our own files.

Plex-CLA-1.0-signed-off-by: Rasmus Thomsen <cogitri@exherbo.org>
2018-04-21 09:15:48 +02:00

3 lines
300 B
CMake

install (FILES ${CMAKE_SOURCE_DIR}/resources/desktop/plexmediaplayer.desktop DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications)
install (FILES ${CMAKE_SOURCE_DIR}/resources/images/icon.svg DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/icons/hicolor/scalable/apps RENAME plexmediaplayer.svg)