Choose provider when making package
aurto fails adding gala-git to the aurto repo because it requires granite-git as a make dep, but only requires libgranite.so as a runtime dep. This results in aurto installing granite first, then trying to replace it with granite-git and failing.
Is there any way to choose a provider when adding a package?
There currently isn't a way, and since aurto is geared towards unattended builds I don't think it would be easy to add in general.
I can't test this at the moment. I would have guessed aurutils would have sorted out the dependencies here, ie choosing the provider that's required as a makedepend. But if it relies on user interaction aurto won't be able to support this.
That makes sense and is what I was afraid of. Thanks for the response.
Most dependency choices are, due to the virtue of a local repository, left to pacman. You can use the interactive prompts by using aur-sync without --no-confirm.
If you want better unattended management of dependencies, pacutils is needed, which is non-trivial because makepkg hardcodes sudo pacman -S --asdeps to install dependencies with pacman.