Add desktop file to comply with freedesktop standard.

This commit is contained in:
Ghislain MARY 2017-06-13 15:31:43 +02:00
parent 5a3d82e432
commit b70b419c21
2 changed files with 30 additions and 0 deletions

View file

@ -336,6 +336,10 @@ install(TARGETS ${TARGET_NAME}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE 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. # Install rc files.
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------

View file

@ -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