From 3cbabc6b55eb84a98b80346f47cc5721951fd98c Mon Sep 17 00:00:00 2001 From: fryshorts Date: Sat, 26 Jul 2014 22:08:22 +0200 Subject: [PATCH 1/2] Add .desktop file for obs on linux --- obs/dist/obs.desktop | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 obs/dist/obs.desktop diff --git a/obs/dist/obs.desktop b/obs/dist/obs.desktop new file mode 100644 index 000000000..9cc1b1fee --- /dev/null +++ b/obs/dist/obs.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=OBS +GenericName=Streaming/Recording Software +Comment=Free and Open Source Streaming/Recording Software +Exec=obs +Icon=obs +Terminal=false +Type=Application +Categories=AudioVideo;Recorder; +StartupNotify=true From d8d0ae46ba4964d67798abfa5b4cc5386eb36f41 Mon Sep 17 00:00:00 2001 From: fryshorts Date: Sat, 2 Aug 2014 16:12:53 +0200 Subject: [PATCH 2/2] Install desktop file and application icon on linux --- obs/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/obs/CMakeLists.txt b/obs/CMakeLists.txt index efbbd2983..40c7e472a 100644 --- a/obs/CMakeLists.txt +++ b/obs/CMakeLists.txt @@ -129,3 +129,9 @@ target_link_libraries(obs install_obs_core(obs) install_obs_data(obs data obs-studio) + +if (UNIX AND UNIX_STRUCTURE AND NOT APPLE) + install(FILES dist/obs.desktop DESTINATION share/applications) + install(FILES forms/images/obs.png + DESTINATION share/icons/hicolor/256x256/apps) +endif()