Created attachment 247637 [details] Patch to make greater use of option grouping This isn't a bug as such but I couldn't see a way to contribute - the port maintainers e-mail address being a private mailing list. The option list is fairly mighty and I find it hard to navigate, particularly where there are several options which cover the same thing. Attached is a patch which makes a first stab at grouping many of the options to make them easier to understand. It is incomplete and there are still discussions to be had about categories and ordering but it should serve as a proof of concept.
NETWORK or IO: OPTIONS_GROUP= NETWORK OPTIONS_GROUP_IO= CDIO DC1394 LIBBLURAY NETWORK SMB SSH Order: OPTIONS_GROUP_VIDEO= xxx OPTIONS_GROUP_SOUND= xxx Order: OPENVINO_DESC= OpenVINO as a DNN module backend for DNN based filters like dnn_processing COMPILE_DESC= Compile options POCKETSPHINX_DESC= Automatic Speech Recognition via PocketSphinx
Created attachment 247843 [details] More complete version of the previous patch The change is more complete now and i think I've tackled the suggestions made above.
(In reply to mhambley from comment #2) Why option NETWORK is in GROUPs list?
"OPTIONS_GROUP=" must be after "OPTIONS_DEFINE=" and before "OPTIONS_DEFAULT=". Example: OPTIONS_DEFINE= A B OPTIONS_GROUP= X Y OPTIONS_GROUP_X= C D OPTIONS_GROUP_Y= E F OPTIONS_DEFAULT= A C F
Created attachment 248004 [details] Further improved patch The presence of "NETWORK" in the group list was a mistake on my part. Thanks for explaining the required ordering.