Package Details: obs-studio-git 32.2.2.r4.g1bf1379-1

Git Clone URL: https://aur.archlinux.org/obs-studio-git.git (read-only, click to copy)
Package Base: obs-studio-git
Description: Free, open source software for live streaming and recording
Upstream URL: https://github.com/obsproject/obs-studio
Licenses: GPL-2.0-or-later
Conflicts: obs-studio, obs-studio-plugin-browser
Provides: obs-studio
Submitter: ledti
Maintainer: benklett (xiota)
Last Packager: xiota
Votes: 112
Popularity: 0.008327
First Submitted: 2014-03-12 22:29 (UTC)
Last Updated: 2026-09-16 00:16 (UTC)

Required by (179)

Sources (4)

Pinned Comments

thotypous commented on 2021-02-05 14:12 (UTC)

If you don't want to build this package yourself, hourly builds are available at https://aur.chaotic.cx

benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)

This is a -git package, that means you have to update it! Please do not flag it out of date because of the version number. The version number will automatically increase to the version of the latest commit. If you want to have the stable versions, please install the package obs-studio from [community].

Latest Comments

1 2 3 4 5 6 .. 40 Next › Last »

alerque commented on 2026-11-03 21:25 (UTC)

@xiota Thanks far the response. Yes I'm aware there are some tricky gotchas lurking here.

I guess I'll start working on both an MR for the Arch stable package and my own fork of this and work on converging them, then propose it with actual commits to compare.

PrfStrwberry commented on 2026-11-03 19:35 (UTC) (edited on 2026-11-03 19:36 (UTC) by PrfStrwberry)

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message): Could NOT find SteinbergVST3 (missing: SteinbergVST3_INCLUDE_DIR SteinbergVST3_SOURCES) (found version "3.0.0")

  Reason given by package: Ensure Steinberg VST3 SDK is available in local library paths or provided via STEINBERG_VST3_PATH.

Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE) cmake/finders/FindSteinbergVST3.cmake:100 (find_package_handle_standard_args) plugins/obs-vst3/CMakeLists.txt:12 (find_package)

xiota commented on 2026-11-02 17:23 (UTC)

@alerque Your objectives are agreeable, and I'd be willing to make adjustments. However, there are some issues with this package that could complicate unification with the official package, such as CEF versioning and patch methodology.

For the plugin packaging issues, could you provide more info or an example package that I can look at?

alerque commented on 2026-11-02 13:10 (UTC) (edited on 2026-11-02 13:12 (UTC) by alerque)

@benklett and @xiota Would you guys be interested in with me to (or allowing me to work on) normalize both the coding style and effective build/packaging options so that this packaging was an exact equivalent of the Arch official OBS package? I've already started talking to the current maintainers of that package about making some changes and will be working on an MR for them. One of my main goals would be to also massage this packaging so that it was as identical as possible and a diff between this PKGBUILD and the stable release packaging was only the Git HEAD sources, the bits necessary to handle the sliding version numbering of assorted components, and then anything specific to changes that are not in the last upstream release. Then when a release happens checking the diff on this package should surface exactly the relevant changes to apply there. Also switching back and forth between stable and HEAD builds should not end up with different compile options, packaged directories, or dependencies.

A secondary goal would be to make sure the plugin directory ownership and related package splits were as versatile as possible so that 3rd party plugin packaging has a better change of playing nice when swapping between stable and VCS builds, something that's a bit error prone for me right now.

infectedcrotch commented on 2026-10-23 23:19 (UTC)

@xiota confirmed good now thanks!

xiota commented on 2026-10-18 17:09 (UTC) (edited on 2026-10-18 17:19 (UTC) by xiota)

@infectedcrotch The PKGBUILD already has MbedTLS_DIR defined.

$ grep MbedTLS_DIR PKGBUILD
    -DMbedTLS_DIR="/usr/lib/mbedtls3/cmake/MbedTLS"

Your log shows it's not a fresh clone:

==> Starting pkgver()...
==> Starting build()...

A fresh clone would have shown:

==> Starting pkgver()...
==> Updated version: obs-studio-git 32.2.2.r153.gf1c0a11-1
==> Starting build()...

infectedcrotch commented on 2026-10-18 16:52 (UTC)

I completely cleared both paru and yay caches, freshly cloned the AUR repository, and reproduced this in a clean extra-x86_64-build chroot.

Could not find a package configuration file provided by "MbedTLS" (requested version 3...<4)

Full clean-chroot build log:

https://paste.rs/l2Lsl

mbedtls3 was installed successfully in the chroot, but its CMake configuration is under:

/usr/lib/mbedtls3/cmake/MbedTLS/MbedTLSConfig.cmake

Therefore, cache clearing, a fresh clone, and a clean chroot alone do not make CMake find it. The current PKGBUILD’s explicit MbedTLS_DIR setting is required.

xiota commented on 2026-10-09 03:37 (UTC) (edited on 2026-10-09 03:38 (UTC) by xiota)

Those having difficulty building:

  • Clear AUR helper cache. Completely. Again.
  • Sync PKGBUILD by deleting local repo and recloning.
  • Build in a clean chroot.
  • If you still have problems, put the log in a pastebin for review.
==> Finished making: obs-studio-git 32.2.2.r145.g7d98beb-1 (Fri Oct  9 03:33:47 2026)

@l0n353n7ry Your additions are unnecessary. Your problem is caused by a broken path (/lib instead of /usr/lib).

l0n353n7ry commented on 2026-10-09 00:55 (UTC) (edited on 2026-10-14 22:50 (UTC) by l0n353n7ry)

UPDATE: It looks like i had a stale ccache after clearing It build fine. BUILD LOG (Before my modifications): https://pastebin.com/PfgDzrF9

This is how i can get mine to build:

CC=clang CXX=clang++ paru -S obs-studio-git --fm nvim

PKGBUILD: build()

build() (
  export CFLAGS CXXFLAGS
  CFLAGS="${CFLAGS/_FORTIFY_SOURCE=?/_FORTIFY_SOURCE=2}"
  CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=?/_FORTIFY_SOURCE=2}"

  CFLAGS+=" -I/usr/include/mbedtls3" <--- ADDED
  CXXFLAGS+=" -I/usr/include/mbedtls3" <--- ADDED

  local _cmake_options=(
    -B build
    -S "$_pkgname"
    -G Ninja
    -DCMAKE_BUILD_TYPE=None
    -DCMAKE_INSTALL_PREFIX='/usr'
    -DCMAKE_INSTALL_LIBDIR='lib'
    -Wno-author

    -DMbedTLS_DIR="/usr/lib/mbedtls3/cmake/MbedTLS"
    -DCMAKE_C_FLAGS="${CFLAGS}" <--- ADDED
    -DCMAKE_CXX_FLAGS="${CXXFLAGS}" <--- ADDED

    -DCEF_ROOT_DIR="$srcdir/$_cef_src"
    -DOBS_VERSION_OVERRIDE="${pkgver%%.r*}"
    -DOBS_COMPILE_DEPRECATION_AS_WARNING=ON
    -DENABLE_BROWSER=ON # qrcodegencpp-cmake
    -DENABLE_LIBFDK=ON

    -DENABLE_AJA="${_plugin_aja:?}"
    -DENABLE_JACK=ON
    -DENABLE_NEW_MPEGTS_OUTPUT=ON
    -DENABLE_VLC=ON
    -DENABLE_VST=ON
    -DENABLE_WEBRTC=ON
  )

  cmake "${_cmake_options[@]}"
  cmake --build build
)

==> Finished making: obs-studio-git 32.2.2.r145.g7d98beb-1 (Fri 09 Oct 2026 12:28:05 AM EDT

infectedcrotch commented on 2026-10-05 02:15 (UTC)

@xiota Not just cache clear — PKGBUILD needs DMbedTLS_DIR="/usr/lib/mbedtls3/cmake/MbedTLS". Old MbedTLS_INCLUDE_DIR/Mbedtls_LIBRARY flags don’t work with current OBS find_package(MbedTLS 3...<4). With that line + mbedtls3 installed, builds fine.