-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
frontend, libobs: Plugin manager 1.5 #13594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
d891b40
e2e19f8
0403d68
a531afd
5e2d908
9afd314
6419f58
4e0b9cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,11 @@ | |
| "runtime": "org.freedesktop.Platform", | ||
| "runtime-version": "25.08", | ||
| "sdk": "org.freedesktop.Sdk", | ||
| "branch": "test", | ||
| "separate-locales": false, | ||
| "build-options": { | ||
| "no-debuginfo": true | ||
| }, | ||
|
Comment on lines
+6
to
+10
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are those changes supposed to be made to the actual Flatpak manifest? This looks like a temporary test setup to me..
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Besides two specific line change (merge-dirs and in config-opts), nothing else you end up being commited in this file. |
||
| "command": "obs", | ||
| "finish-args": [ | ||
| "--socket=wayland", | ||
|
|
@@ -24,7 +29,7 @@ | |
| "directory": "plugins", | ||
| "subdirectories": true, | ||
| "add-ld-path": "lib", | ||
| "merge-dirs": "lib/obs-plugins;share/obs/obs-plugins", | ||
| "merge-dirs": "lib/obs-modules/plugins;share/obs/obs-modules/plugins;lib/obs-plugins;share/obs/obs-plugins", | ||
| "no-autodownload": true, | ||
| "autodelete": true | ||
| }, | ||
|
|
@@ -101,38 +106,15 @@ | |
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "cef", | ||
| "build-options": { | ||
| "no-debuginfo": true | ||
| }, | ||
| "buildsystem": "simple", | ||
| "build-commands": [ | ||
| "mkdir -p /app/cef/libcef_dll_wrapper", | ||
| "cp -R ./include /app/cef", | ||
| "cp -R ./Release /app/cef", | ||
| "cp -R ./Resources /app/cef", | ||
| "cp -R ./build/libcef_dll_wrapper/libcef_dll_wrapper.a /app/cef/libcef_dll_wrapper" | ||
| ], | ||
| "cleanup": [ | ||
| "*" | ||
| ], | ||
| "sources": [ | ||
| { | ||
| "type": "archive", | ||
| "url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_6533_linux_x86_64_v6.tar.xz", | ||
| "sha256": "7963335519a19ccdc5233f7334c5ab023026e2f3e9a0cc417007c09d86608146" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "obs", | ||
| "buildsystem": "cmake-ninja", | ||
| "builddir": true, | ||
| "config-opts": [ | ||
| "-DCMAKE_BUILD_TYPE=RelWithDebInfo", | ||
| "-DENABLE_FLATPAK=ON", | ||
| "-DENABLE_WAYLAND=ON", | ||
| "-DENABLE_BROWSER=ON", | ||
| "-DENABLE_BROWSER=OFF", | ||
| "-DCEF_ROOT_DIR=/app/cef", | ||
| "-DENABLE_ALSA=OFF", | ||
| "-DENABLE_PULSEAUDIO=ON", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,4 +17,13 @@ elseif(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|FreeBSD|OpenBSD") | |
| list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/linux") | ||
| string(TOUPPER "${CMAKE_HOST_SYSTEM_NAME}" _SYSTEM_NAME_U) | ||
| set(OS_${_SYSTEM_NAME_U} TRUE) | ||
|
|
||
| option(ENABLE_FLATPAK "Enable Flatpak-specific implementations." OFF) | ||
| mark_as_advanced(ENABLE_FLATPAK) | ||
|
Comment on lines
+21
to
+22
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not 100% sold on using
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW I'm fine with giving it a different name, it's just what I came up with to present how/where that variable comes into play in the build setup. |
||
|
|
||
| if(OS_LINUX AND ENABLE_FLATPAK) | ||
| set(OS_FLATPAK TRUE) | ||
| else() | ||
| set(OS_FLATPAK FALSE) | ||
| endif() | ||
| endif() | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value should be default-initialised to
FALSEinside CMake (otherwise the variable is unintialized for other platforms - see also my recent PR with CMake updates that also addresses uninitialised variable errors).Conceptually nothing outside of the Flatpak manifest should "know", be concerned, or in any other way interact with this configuration value.