apply the no-gtk patch don't achieve wanted result because the patch concerns configure.in only. after apply the patch we should autoreconf. an ebuild patch follows.
Created attachment 45076 [details, diff] patch to build mjpegtools without gtk support
Created attachment 45133 [details, diff] better use flags control - ebuild patch
Created attachment 45134 [details, diff] better use flags control - configure.in patch
Created attachment 45135 [details, diff] better use flags control - add v4l flag
Created attachment 45136 [details, diff] better use flags control - ebuild patch
Fixed by Diego
i've seen that my patch is now in portage. It would have been nice to add a credit in the Changelog file. However... thanks for this fix.
Please provide a name, if I find there just the email I assume you want privacy
you're right. i didn't provide my name. Anyway, don't worry about it: it's really not a problem. thx