From f28f434167332dd35eea5401395053895c48a1f3 Mon Sep 17 00:00:00 2001 From: Aleksandr Voitenko Date: Tue, 2 Jun 2026 18:51:57 +0100 Subject: [PATCH 1/4] Allow extra libobs dependency prefixes --- README.md | 8 +++++++- obs-studio-server/CMakeLists.txt | 12 ++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7569ae22a..fe0df07e9 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,12 @@ cmake --build . --target install --config RelWithDebInfo This will will download any required dependencies, build the module, and then place it in an archive compatible with npm or yarn that you may specify in a given package.json. +If you are testing a local libobs development package that was built before it bundled its public development dependencies, pass those dependency package prefixes with `OSN_LIBOBS_DEPENDENCY_PREFIX_PATH`. For example: + +``` +cmake .. -G"Visual Studio 17 2022" -A x64 -DCMAKE_PREFIX_PATH=%CD%/libobs-src/cmake/ -DOSN_LIBOBS_DEPENDENCY_PREFIX_PATH=D:/path/to/obs/.deps/obs-deps-2025-08-23sl2-x64 +``` + ### Mac Building on Mac requires Xcode. @@ -168,4 +174,4 @@ If you wish to debug a specific test change the wildcard character to the name o } ] } -``` \ No newline at end of file +``` diff --git a/obs-studio-server/CMakeLists.txt b/obs-studio-server/CMakeLists.txt index d83aab614..09dc4b13d 100644 --- a/obs-studio-server/CMakeLists.txt +++ b/obs-studio-server/CMakeLists.txt @@ -209,12 +209,24 @@ set( CACHE STRING "Location of libobs archive to base on" ) +set( + OSN_LIBOBS_DEPENDENCY_PREFIX_PATH + "" + CACHE STRING "Additional CMake prefixes required by the libobs package" +) + download_project( PROJ libobs URL ${OSN_LIBOBS_URL} UPDATE_DISCONNECTED 1 ) +list(APPEND CMAKE_PREFIX_PATH "${libobs_SOURCE_DIR}" "${libobs_SOURCE_DIR}/cmake") +if(OSN_LIBOBS_DEPENDENCY_PREFIX_PATH) + list(APPEND CMAKE_PREFIX_PATH ${OSN_LIBOBS_DEPENDENCY_PREFIX_PATH}) +endif() +list(REMOVE_DUPLICATES CMAKE_PREFIX_PATH) + if (WIN32) include("${libobs_SOURCE_DIR}/cmake/LibObsConfig.cmake") elseif(APPLE) From df6c23d4c837038ea33b37547383327b5826c825 Mon Sep 17 00:00:00 2001 From: Aleksandr Voitenko Date: Thu, 4 Jun 2026 14:35:44 +0100 Subject: [PATCH 2/4] OBS 32.1.1test1 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd0e0f389..d26a466c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ env: SLGenerator: Visual Studio 17 2022 SLDistributeDirectory: distribute SLFullDistributePath: "streamlabs-build.app/distribute" # The .app extension is required to run macOS tests correctly. - LibOBSVersion: 31.1.2sl20 + LibOBSVersion: 32.1.1test1 PACKAGE_NAME: osn jobs: From 6f66b7cb095995a373c59b93088ee8832bcc5bbc Mon Sep 17 00:00:00 2001 From: Richard Osborne Date: Thu, 16 Jul 2026 12:51:49 -0500 Subject: [PATCH 3/4] OBS 21.1.1test2 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d26a466c6..43d0d1854 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ env: SLGenerator: Visual Studio 17 2022 SLDistributeDirectory: distribute SLFullDistributePath: "streamlabs-build.app/distribute" # The .app extension is required to run macOS tests correctly. - LibOBSVersion: 32.1.1test1 + LibOBSVersion: 32.1.1test2 PACKAGE_NAME: osn jobs: From 69bad402d76c09465c7b0273f5bd863eddab4ebe Mon Sep 17 00:00:00 2001 From: Vladimir Date: Mon, 20 Jul 2026 17:23:06 -0700 Subject: [PATCH 4/4] Update libobs to v32.1.1sl1 (#1745) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 43d0d1854..774b18f05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ env: SLGenerator: Visual Studio 17 2022 SLDistributeDirectory: distribute SLFullDistributePath: "streamlabs-build.app/distribute" # The .app extension is required to run macOS tests correctly. - LibOBSVersion: 32.1.1test2 + LibOBSVersion: 32.1.1sl1 PACKAGE_NAME: osn jobs: