You are not logged in.
I don't understand the usage of soname dependencies as an explicit dependency in the 'depends' field of a package, and I'd like to ask if there is a clear explanation resp. guideline when and why to use them in addition to or instead of regular dependencies.
I have seen packages that use soname dependencies instead of regular deps (example), and also packages that use them in addition to the dep where the shared libs come from (example). The documentation on the other hand does not add the soname in the provided example at the end to the application's depends field at all.
Finally, it seems to me soname deps can be used in the same way as virtual dependencies, so I'd appreciate some insight into the relation of soname deps and virtual ones as well.
Thanks
Offline
For implementers it is strongly suggested to make this behavior configurable, as soname detection may fail or rely on soname data that may not be advisable under certain conditions. See OPTIONS of makepkg.conf for details on the autodeps feature and LIB_DIRS of makepkg.conf for details on prefix and lookup directory definitions for makepkg.
Archlinux devs disable autodeps by default in makepkg.conf . This has resulted in archlinux packagers only using them when necessary .
Both the pcsclite and libcamera-ipa PKGBUILDs use the sodep to ensure a change in soname version of the dep will cause a conflict.
That usecase is the most common one for depending on sodeps.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online