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.
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)