midori-0.2.7 has an option to enable vala support. But this flag does not pull in vala as a dependency. Looking at the midori code: if option_enabled ('vala'): if find_program_impl (conf.env, 'valac'): conf.check_tool ('vala') else: conf.check_message ('program', 'valac', False, False) Utils.pprint ('RED', 'Vala is required for some extensions.') Utils.pprint ('RED', 'Pass --disable-vala to not build with Vala.') sys.exit (1) it needs valac when the 'vala' option is required. Thus dev-lang/vala should be in the deps. I'm unsure however, whether it should be only in DEPEND or also in RDEPEND.
Yup, simple mistake. It should be in RDEPEND (run-time, "some" extensions) and DEPEND (build time, as you pointed out). Now, vala is SLOTted so it needs some extra investigation.
+*midori-0.2.8 (29 Sep 2010) + + 29 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> +midori-0.2.8.ebuild, + midori-9999.ebuild: + Version bump with missing dev-lang/vala depend wrt #336643 by Agostino + Sarubbo and pax-mark -m for hardened wrt #338561 by René Neumann.