You need to use "provides" as well. You are essentially trying to provide
an alternative version.

Try using  "provides=('ffmpeg')"

>From the wiki:
https://wiki.archlinux.org/title/PKGBUILD

"...If providing an alternate version of an already existing package or
uploading to the AUR, use the conflicts and provides arrays, which are only
evaluated when actually installing the conflicting package."

As an example, see these alternative aur packages for ffmpeg.
https://aur.archlinux.org/packages/ffmpeg-git
https://aur.archlinux.org/packages/ffmpeg-full

Best,
Eric


On Thu, Feb 12, 2026, 10:11 AM Zen <[email protected]> wrote:

> Hi! I am trying to package librempeg
> <https://github.com/librempeg/librempeg> which is a fork of ffmpeg and is
> supposed to be a drop-in replacement to it.
>
> In PKGBUILD, provides, depends are all the same and I added
> "conflicts=('ffmpeg')".
> How do I make other packages use the new package (librempeg-git) as ffmpeg?
> Build works but installation fails with:
> ```
> looking for conflicting packages...
> :: librempeg-git-r124983.f986adf-1 and ffmpeg-2:8.0.1-5 are in conflict.
> Remove ffmpeg? [y/N] y
> error: failed to prepare transaction (could not satisfy dependencies)
> :: removing ffmpeg breaks dependency 'ffmpeg' required by ffmpegthumbs
> :: removing ffmpeg breaks dependency 'ffmpeg' required by firefox
> :: removing ffmpeg breaks dependency 'ffmpeg' required by freerdp
> ```
>
> Thanks!
>
> Zentropivity
>

Reply via email to