For the lazy, this should be a fully working PKGBUILD. I used the changes from @AUR_user and @rob215x to patch up the script. I've tested this a couple of times and it builds/installs correctly. Let me know if anything needs to be fixed.
Search Criteria
Package Details: obs-studio-git 32.1.0.r13.g1159bc8-1
Package Actions
| 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 |
| Provides: | obs-studio |
| Submitter: | ledti |
| Maintainer: | benklett (xiota) |
| Last Packager: | xiota |
| Votes: | 112 |
| Popularity: | 0.30 |
| First Submitted: | 2014-03-12 22:29 (UTC) |
| Last Updated: | 2026-04-01 04:56 (UTC) |
Dependencies (48)
- at-spi2-core (at-spi2-core-gitAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR)
- jackAUR (jack2-gitAUR, pipewire-jack-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-ldacAUR, jack2, pipewire-jack)
- jansson (jansson-gitAUR)
- libdatachannel (libdatachannel-gitAUR, libdatachannel-niceAUR)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR, libpipewire-ldacAUR)
- librist (librist-gitAUR)
- libvpl (libvpl-gitAUR, intel-media-stack-legacy-binAUR, intel-media-stack-binAUR)
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- mbedtls (mbedtls-gitAUR, mbedtls-dtlsAUR)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- pciutils (pciutils-gitAUR)
- qrcodegencpp-cmake
- qt6-svg
- rnnoise (rnnoise-gitAUR)
- simde
- Show 28 more dependencies...
Required by (165)
- catppuccin-obs-theme-git (requires obs-studio)
- distroav (requires obs-studio)
- distroav-bin (requires obs-studio)
- distroav-git (requires obs-studio)
- droidcam-obs-plugin (requires obs-studio)
- droidcam-obs-plugin-bin (requires obs-studio)
- droidcam-obs-plugin-git (requires obs-studio)
- glava-git (requires obs-studio) (make)
- glava-git (requires obs-studio) (optional)
- glava-ridged (requires obs-studio) (optional)
- looking-glass (requires obs-studio) (make)
- looking-glass-git (requires obs-studio) (make)
- looking-glass-host-git (requires obs-studio) (make)
- looking-glass-module-dkms (requires obs-studio) (make)
- looking-glass-module-dkms-git (requires obs-studio) (make)
- looking-glass-rc (requires obs-studio) (make)
- looking-glass-rc-host (requires obs-studio) (make)
- looking-glass-rc-module-dkms (requires obs-studio) (make)
- noon-optional (requires obs-studio)
- nudgis-obs-plugin (requires obs-studio)
- Show 145 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 38 Next › Last »
Rucker commented on 2024-09-27 18:10 (UTC)
AUR_user commented on 2024-09-11 06:30 (UTC)
In case someone else struggles with the build. I got it running with the following adjustments:
1) In PKGBUILD under makedepends=
"ffnvcodec-headers<=12.1.14.0" -> "ffnvcodec-headers"
2) In PKGBUILD under build(){
Adding -DCEF_INCLUDE_DIR="/opt/cef-obs/include" \ under -DCEF_ROOT_DIR="/opt/cef-obs" \
Rucker commented on 2024-09-05 13:21 (UTC)
ffnvcodec-headers<=12.1.14.0 is no longer required. The package can be built with the latest ffnvcodec-headers.
rob215x commented on 2024-08-31 23:17 (UTC)
To followup @xiota @zangoku, I have successfully Built OBS with a working browser plugin by changing ONE line in PKGBUILD:
Change the line with "-DBUILD_BROWSER=ON \" to
-DENABLE_BROWSER=ON \
rob215x commented on 2024-08-31 21:29 (UTC) (edited on 2024-08-31 22:30 (UTC) by rob215x)
I have the same issue as @zangoku. I have 2 PCs running Manjaro and I updated PC #1 on 24-Aug-2024 and OBS works fine. Yesterday, I updated PC #2 and OBS will not load the obs-browser module. I typically have to manually Build OBS each time there's a major OS update but here's what I see when I build on PC #2:
_ _ _ _
___ | |__ ___ ___| |_ _ _ __| (_) ___
/ _ \| '_ \/ __|_____/ __| __| | | |/ _` | |/ _ \
| (_) | |_) \__ \_____\__ \ |_| |_| | (_| | | (_) |
\___/|_.__/|___/ |___/\__|\__,_|\__,_|_|\___/
OBS: Application Version: 30.2.2-179-g34735be09 - Build Number: 1
==================================================================================
------------------------ Enabled Features ------------------------
- OpenGL renderer
- PipeWire 0.3.60+ camera support
- Plugin Support
- PulseAudio audio monitoring (Linux)
- RNNoise noise suppression
- Scripting Support (Frontend)
- Scripting support
- SpeexDSP noise suppression
- User Interface
- Wayland compositor support (Linux)
------------------------ Disabled Features ------------------------
- Browser sources are not enabled by default (set CEF_ROOT_DIR and ENABLE_BROWSER)
- Restream API connection
- Twitch API connection
- YouTube API connection
then, further down...
------------------------ Disabled Modules ------------------------
- aja
- aja-output-ui
- obs-browser
- sndio
- test-input
----------------------------------------------------------------------------------
-- Configuring done (11.4s)
-- Generating done (0.6s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_BROWSER
CEF_ROOT_DIR
I'm not sure if that helps. I saw on https://github.com/obsproject/obs-studio/issues/11227 the issue has been closed because "This is a packaging issue, please report it to the packager." but that doesn't make sense to me?
Does something need to be updated in PKGBUILD ??
zangoku commented on 2024-08-31 08:19 (UTC)
URL sources no longer work and it is a package issue according to the dev team ref: https://github.com/obsproject/obs-studio/issues/11227
benklett commented on 2024-07-20 20:28 (UTC)
I am myself not happy with the current situation, the package from DigitOtter is only a workaround for obs-studio not being compatible with the current version of ffnvcodec-headers from Arch.
The option I am currently using is to edit the PKGBUILD of ffnvcodec-headers-12-1.
For instance with yay: yay -S ffnvcodec-headers-12-1 --editmenu. Press enter, enter, 1.
Replace the line beginning with provides=, with provides=("ffnvcodec-headers=${pkgver}").
Save and close the editor.
After the package is installed obs-studio-git should build fine.
Another option could be to install the downgrade package to downgrade ffnvcodec-headers before compiling obs-studio-git like so:
sudo downgrade ffnvcodec-headers
Select the version 12.1.14.0 and press enter. After the installation is complete obs-studio-git will install just fine.
You can also add the ffnvcodec package to your IgnorePkg in /etc/pacman.conf:
IgnorePkg = <<list of packages separated by space if you already have some>> ffnvcodec-headers
That way you won't have to downgrade everytime.
xAsh commented on 2024-07-16 22:05 (UTC)
Can you edit the PKGBUILD to make it accept ffnvcodec-headers-12-1 as a dependency? I did it locally, but it will be overwritten on each update.
jdfthetech commented on 2024-07-05 01:59 (UTC)
With latest Nvidia Extra install (555 drivers), was able to get this to compile by editing the line ffnvcodec-headers<=12.1.14.0 to this: ffnvcodec-headers<=12.2.72.0
I have tested and everything runs fine at this time.
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)