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.
Search Criteria
Package Details: obs-studio-git 32.1.2.r109.g84b8d16-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: | benklett |
| Votes: | 112 |
| Popularity: | 0.088398 |
| First Submitted: | 2014-03-12 22:29 (UTC) |
| Last Updated: | 2026-06-10 22:13 (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-whisper-gitAUR, ffmpeg-decklinkAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-full-llvmAUR, ffmpeg-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-fullAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-gitAUR, ffmpeg-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 (167)
- 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 147 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 38 Next › Last »
xAsh commented on 2024-07-16 22:05 (UTC)
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.
RileyMeta commented on 2024-06-26 19:44 (UTC) (edited on 2024-06-26 19:45 (UTC) by RileyMeta)
The dependency check fails because the new version that it's looking for is installed under a different name. It's looking for ffnvcodec-headers<=12.1.14.0: ffnvcodec-headers "greater than or equal" to version "12.1.14.0", but the newest version of the headers is installed under ffnvcodec-headers-12-1 followed by the version number "12.1.14.0-1". It's looking for something that doesn't exist ffnvcodec-headers version 12.1.14.0-1. I'm not 100% positive, but this should be fixable with a wildcard (*) after "ffnvcodec-headers"*<=12.1.14.0 so it will match any dependencies that have that in their name AND it'll check for the correct version.
Pulec commented on 2024-06-25 11:11 (UTC) (edited on 2024-06-25 11:12 (UTC) by Pulec)
With
local/ffnvcodec-headers-12-1 12.1.14.0-1
I built it fine just now. But I had to remove the version dependency on https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=obs-studio-git#n33
I am not sure why the dependency check failed.
spikerguy commented on 2024-06-14 19:22 (UTC) (edited on 2024-06-14 19:36 (UTC) by spikerguy)
Like mentioned by others
there is mismatch in ffnvcodec-headers pkg version
-- Found Libpci: /usr/lib/libpci.so
-- Found Libdrm: /usr/lib/libdrm.so
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find FFnvcodec: Found unsuitable version "12.2.72.0", required
range is "12.0.0.0...<12.2.0.0" (found /usr/include)
Reason given by package: Ensure FFnvcodec headers are available in local include paths.
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindFFnvcodec.cmake:78 (find_package_handle_standard_args)
plugins/obs-ffmpeg/cmake/legacy.cmake:119 (find_package)
cmake/Modules/ObsHelpers.cmake:473 (include)
plugins/obs-ffmpeg/CMakeLists.txt:3 (legacy_check)
Failed here.
As this is needed for nvidia I have it disabled to compile it using this flag.
-DENABLE_NATIVE_NVENC=OFF \
RileyMeta commented on 2024-06-12 01:32 (UTC)
If you don't mind building it manually with makepkg, you can just change the line from "ffnvcodec-headers<=12.1.14.0" to "ffnvcodec-headers". Maintainer might want to change it to something like "ffnvcodec-headers<=12.1" because currently that package does install properly, it's just named "ffnvcodec-headers-12-1 12.1.14.0-1" which might be confusing the script.
Make sure you have the correct version installed, remove the check (<=...) and it should build properly.
danievdm commented on 2024-05-24 10:30 (UTC)
I'm getting the same error as everyone else for the ffnvcodec dependency, but I do have that dependency installed for obs-studio-git. Surely the issue is the build file for either obs-studio-git or ffnvcodec-headers-12-1 needed to be updated to align by the maintainers?
zangoku commented on 2024-05-21 20:44 (UTC)
thank you @wustdsh I edited the pkgbuild of that package and got it working
wustdsh commented on 2024-05-21 07:07 (UTC) (edited on 2024-05-21 07:17 (UTC) by wustdsh)
The problem is with ffnvcodec-headers-12-1 missing provides=('ffnvcodec-headers=12.1.14.0').
zangoku commented on 2024-05-21 06:38 (UTC)
Same issue package looks for error: could not find all required packages:
ffnvcodec-headers<=12.1.14.0 (wanted by: obs-studio-git).
Yet I have ffnvcodec-headers-12-1 12.1.14.0-1 installed.
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)