New to Manjaro, but not new to Linux by a long shot.
I wanted to compile a custom ffmpeg with some patches for hwaccel on a PBP. I want to get the source for the Manjaro package (i.e., PKGBUILD file), since I want to make a properly packaged version. It looks like there’s no equivalent of
dnf download --source with
pacman to get it automatically.
Some googling leads me to “asp”. That works! But this ffmpeg will clearly only build on x86_64 and not aarch64. x86_64 is the only arch listed and some of the configure options are x86 only.
And this appears to be because asp just gets an Arch package, and they only do x86_64. If I want the Manjaro package, I need to go hunt on gitlab for it.
So I do that, and there is no ffmpeg package. Nothing for arm in fact, no kernel, no nothing… And this is because there is another gitlab for Manjaro ARM! A package can’t build for both from the same source? Seems like a lot of duplicated package building code. I look in there, find the kernel package and other things, but still no ffmpeg.
So where the heck is it??? I know it exists because I’ve got the package installed!
Is there some automatic way to find the corresponding source from the binary package file? Like how a binary RPM has the SRPM name in the metadata. Or is there some more reliable tool to get the source, like
dnf download or
asp, rather than manually hunting in gitlab?