From b70b419c21fa73827880757949c99ff90a994d6b Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 13 Jun 2017 15:31:43 +0200 Subject: [PATCH] Add desktop file to comply with freedesktop standard. --- linphone-desktop/CMakeLists.txt | 4 ++++ linphone-desktop/linphone.desktop | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 linphone-desktop/linphone.desktop diff --git a/linphone-desktop/CMakeLists.txt b/linphone-desktop/CMakeLists.txt index 878759896..2bafe01f2 100644 --- a/linphone-desktop/CMakeLists.txt +++ b/linphone-desktop/CMakeLists.txt @@ -336,6 +336,10 @@ install(TARGETS ${TARGET_NAME} PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE ) +install(FILES "linphone.desktop" + DESTINATION "${CMAKE_INSTALL_DATADIR}/applications" +) + # ------------------------------------------------------------------------------ # Install rc files. # ------------------------------------------------------------------------------ diff --git a/linphone-desktop/linphone.desktop b/linphone-desktop/linphone.desktop new file mode 100644 index 000000000..eb1ddd2a8 --- /dev/null +++ b/linphone-desktop/linphone.desktop @@ -0,0 +1,26 @@ +[Desktop Entry] +Name=Linphone +GenericName=Web-phone +Comment=Linphone is a web-phone +Type=Application +Exec=linphone %u +Icon=linphone +Terminal=false +Categories=Network;Telephony; + + +# Translations +Name[de]=Linphone +Name[he]=Linphone +Name[ar]=لِنْفُونْ +Name[hu]=Linphone +Name[ru]=Linphone +Name[nb_NO]=Linphone +Name[it]=Linphone +Name[ja]=Linphone +Name[cs]=Linphone +Name[sr]=Линфон +Name[sv]=Linphone +Name[zh_CN]=Linphone +Name[fr]=Linphone +Name[zh_TW]=Linphone