Commit 1d3db66
Sync build system with latest OBS plugin template (#137)
* Initial plan
* Update build system from OBS plugin template: workflows, actions, and scripts
Co-authored-by: royshil <[email protected]>
* Add gersemi config and remove cmake-format config
Co-authored-by: royshil <[email protected]>
* Add .gersemirc to repository and update .gitignore
* Update README to reference new build-ubuntu script
Co-authored-by: royshil <[email protected]>
* Add explicit permissions to check-format workflow jobs for security
Co-authored-by: royshil <[email protected]>
* Update macOS CMake compiler config to match OBS plugin template
This fixes the macOS build failure by updating the SDK version check.
The template requires macOS SDK 15.0+ (Xcode 16.0+) which aligns with
the workflow update to use macOS-15 and Xcode 16.1.
Co-authored-by: royshil <[email protected]>
* Update OBS Studio and dependencies to version 31.1.1
This resolves the macOS build failure by updating to OBS Studio 31.1.1
which includes cmake infrastructure compatible with macOS 15 and Xcode 16.1.
Also updates prebuilt dependencies and Qt6 to 2025-07-11 to match the
template requirements.
Co-authored-by: royshil <[email protected]>
* Update jsoncons and inja submodules to latest versions
Updates jsoncons to latest (0dac681) which requires CMake 3.15+, fixing
the build error "Compatibility with CMake < 3.5 has been removed". The
old version required CMake 3.1 which is no longer supported.
Also updates inja to latest (ebb7aeb) for consistency and bug fixes.
Co-authored-by: royshil <[email protected]>
* Fix CMake presets and buildspec for cross-platform builds
- Rename Linux presets to Ubuntu presets (linux-* → ubuntu-*) to match
template and build scripts expectations
- Update buildspec_common.cmake to match template, fixing:
- Windows arch specification to include platform version
- OBS CMake version to 3.0.0 for all platforms
- ENABLE_UI → ENABLE_FRONTEND flag
- Modern CMake return(PROPAGATE) syntax
This resolves Ubuntu preset not found error, and should fix Windows
libobs package discovery and macOS plugin-support build issues.
Co-authored-by: royshil <[email protected]>
* Replace deprecated obs_scene_sceneitem_from_source with obs_scene_find_source
OBS Studio 31.1.1 deprecated obs_scene_sceneitem_from_source(). Replaced
it with obs_scene_find_source() which finds scene items by source name
instead of source pointer. This fixes the Windows build error where
warnings are treated as errors.
Co-authored-by: royshil <[email protected]>
* Replace deprecated QCheckBox::stateChanged with checkStateChanged
Qt6 deprecated the stateChanged signal in favor of checkStateChanged.
Updated the signal connection to use the non-deprecated API. This fixes
the Windows build error where deprecation warnings are treated as errors.
Co-authored-by: royshil <[email protected]>
* Use QCheckBox::toggled instead of checkStateChanged for Qt6 compatibility
The checkStateChanged signal was added in Qt 6.7, but older Qt6 versions
on Ubuntu/macOS don't have it yet. Using the toggled signal instead, which
is available in all Qt versions and provides the same functionality for
checkboxes. This fixes the build error on Ubuntu and macOS while
maintaining Windows compatibility.
Co-authored-by: royshil <[email protected]>
* Update PugiXML to version 1.15 and change URL_HASH to SHA256
* Update CMake configuration files for various components
- Updated the Lexbor library version from v2.3.0 to v2.6.0 in BuildLexbor.cmake.
- Simplified FetchContent_Declare calls in BuildMyCurl.cmake for better readability.
- Improved formatting of CMake arguments in BuildPugiXML.cmake for consistency.
- Refactored JSON string extraction in FetchWebsocketpp.cmake for clarity.
- Enhanced error messaging in bootstrap.cmake for in-source build prohibition.
- Cleaned up build number cache definition in buildnumber.cmake for better readability.
- Standardized compiler options formatting in compiler_common.cmake and compilerconfig.cmake files.
- Improved helper function formatting in helpers_common.cmake for better readability.
- Streamlined toolchain files for aarch64 and x86_64 architectures by consolidating pkg-config executable definitions.
- Enhanced macOS buildspec and defaults files for better readability and consistency.
- Refactored install commands in windows helpers for improved clarity and consistency.
* Refactor formatting checks in .run-format.zsh and improve code readability in url-source-callbacks.cpp
* Add debug flag to clang-format run command for enhanced output
* Update clang-format action to remove debug flag and adjust Zsh version check
* Simplify Ubuntu build configuration by removing strategy matrix
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: royshil <[email protected]>
Co-authored-by: Roy Shilkrot <[email protected]>1 parent cc17753 commit 1d3db66
File tree
73 files changed
+1668
-1192
lines changed- .github
- actions
- build-plugin
- check-changes
- package-plugin
- run-clang-format
- run-cmake-format
- run-gersemi
- setup-macos-codesigning
- scripts
- utils.zsh
- workflows
- build-aux
- cmake
- common
- linux
- toolchains
- macos
- windows
- src
- ui
- vendor
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
73 files changed
+1668
-1192
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
62 | | - | |
| 69 | + | |
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
67 | | - | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
89 | | - | |
| 96 | + | |
90 | 97 | | |
91 | 98 | | |
92 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 113 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | | - | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
31 | | - | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
40 | | - | |
41 | | - | |
| 48 | + | |
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
57 | 56 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments