Free and open source software for video capturing, recording, and live streaming.
Features:
@@ -30,17 +32,37 @@
https://github.com/obsproject/obs-studio/issues
https://obsproject.com/contribute
https://crowdin.com/project/obs-studio
+
+
+ always
+ pointing
+ keyboard
+
+
+
+ offline-only
+ touch
+
+
- https://obsproject.com/assets/images/OBSDemoApp2610.png
+ https://obsproject.com/assets/images/OBSDemoApp301Flathub.png
+ The OBS Studio window showing a card game, the project website, a video, and a purple rectangle
+
+
+ #284cb8
+
+
-
- ModernToolkit
- HiDpiIcon
-
+
-
+
+ https://github.com/obsproject/obs-studio/releases/tag/@OBS_VERSION@
+
+
+ https://github.com/obsproject/obs-studio/blob/@GIT_HASH@/build-aux/
+
diff --git a/UI/cmake/os-linux.cmake b/UI/cmake/os-linux.cmake
index 91d9175dc14dac..37a02268fb8e00 100644
--- a/UI/cmake/os-linux.cmake
+++ b/UI/cmake/os-linux.cmake
@@ -22,9 +22,21 @@ if(NOT DEFINED APPDATA_RELEASE_DATE)
endif()
endif()
-configure_file(cmake/linux/com.obsproject.Studio.appdata.xml.in com.obsproject.Studio.appdata.xml)
+if(NOT DEFINED GIT_HASH)
+ if(EXISTS "${CMAKE_SOURCE_DIR}/.git")
+ execute_process(
+ COMMAND git rev-parse HEAD
+ OUTPUT_VARIABLE GIT_HASH
+ WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+ else()
+ set(GIT_HASH "master")
+ endif()
+endif()
+
+configure_file(cmake/linux/com.obsproject.Studio.metainfo.xml.in com.obsproject.Studio.metainfo.xml)
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.obsproject.Studio.appdata.xml"
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.obsproject.Studio.metainfo.xml"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
install(FILES cmake/linux/com.obsproject.Studio.desktop DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")