from configure --help: --with-glib=[no/auto/yes] use Glib [default=auto] And since fribidi has no configure switch for glib, the dependency is automagic.
err, the ebuild has glib in RDEPEND correctly, not sure what this bug is about