obs-studio/build-aux
tytan652 ef9ec6fcc3 build-aux,CI: Replace Flatpak KDE SDK with Freedesktop SDK
The Qt components are from the same repo as other dependencies.

The KDE Platform was never a good fit for OBS Studio for multiple
reasons:
- Life cycle too short and misaligned with OBS Studio causing users to
  get EOL notification too often.
- Third-party Qt plugins were allowed which could change Qt's behavior.
- KDE exclusives sandboxed holes were inherited.
2025-12-17 21:15:17 -05:00
..
.functions CI: Add zsh-based build framework files for macOS 2023-07-17 19:49:18 +02:00
steam build-aux: Add shader cache cleanup to steam uninstall script 2023-07-23 02:00:04 +02:00
.run-format.zsh build-aux: Add test directory to clang-format file list 2025-08-19 15:16:40 -04:00
com.obsproject.Studio.json build-aux,CI: Replace Flatpak KDE SDK with Freedesktop SDK 2025-12-17 21:15:17 -05:00
format-manifest.py build-aux: Replace Flatpak modules with pre-compiled dependencies 2025-12-17 21:15:17 -05:00
README.md build-aux: Replace Flatpak modules with pre-compiled dependencies 2025-12-17 21:15:17 -05:00
run-clang-format CI: Add zsh-based build framework files for macOS 2023-07-17 19:49:18 +02:00
run-gersemi CI: Replace cmake-format with gersemi for CMake file format checks 2024-08-14 12:07:47 -04:00
run-swift-format CI: Add zsh-based build framework files for macOS 2023-07-17 19:49:18 +02:00

build-aux folder

This folder contains:

  • Various formatting scripts:
    • run-clang-format which formats C/C++/ObjC/ObjC++ files
    • run-gersemi which formats CMake files
    • run-swift-format which formats Swift files
    • format-manifest.py which formats Flatpak manifest JSON files
  • The Flatpak manifest used to build OBS Studio
  • Files used for Steam packaging

Formatting scripts

run-clang-format

This script allows to check the formatting and/or format of C/C++/ObjC/ObjC++ files and requires ZSH and a specific version of clang-format.

If the script does not find the latter it will return the required version, we provide clang-format Homebrew formulas in our homebrew-tools repo.

Example of use:

./build-aux/run-clang-format

run-gersemi

This script allows to check the formatting and/or format of the CMake files and requires ZSH and gersemi Python package.

Example of use:

./build-aux/run-gersemi

run-swift-format

This script allows to check the formatting and/or format of the Swift files and requires ZSH and swift-format.

Example of use:

./build-aux/run-swift-format

format-manifest.py

This script allows to check the formatting and/or format of the Flatpak manifest and its modules.

Example of use:

python3 ./build-aux/format-manifest.py com.obsproject.Studio.json