[aur-general] TU Application: Andrew Crerar

Levente Polyak anthraxx at archlinux.org
Tue Nov 21 18:36:09 UTC 2017

On November 21, 2017 5:41:19 PM GMT+01:00, Andrew Crerar <andrew at crerar.io> wrote: 
>> opencv-git:
>> - The repo package has hdf5 as a makedepends/optdepends, why is this
>>    depends? More importantly... why is it also still an optdepends?
>I dug around a bit and found this ticket [4] where it seems if you
>didn't have 
>hdf5 as a makedepends, then the build would fail (I personally don't
>think it 
>should have failed given the documentation [5]). This really should be 
>optdepends now since you can build without it. Fixed.

I don't think this is what the intention was, the mention of optdepends
was to ask why it's an optdepends if it's already a hard depends (doesn't make sense).
Now there is no hdf5 support built at all and a optdepends won't
change this fact. What you want is most likely the same as the non git
variant: add it to makedepends so at build time the hdf5 part can be
compiled but remove it from depends as it's runtime optional.


More information about the aur-general mailing list