There are a number of issues with libdbusmenu. I'm filing one bug instead of separate bugs for each issue because each is relatively minor on its own. (a) dev-libs/json-glib[introspection=] should be dev-libs/json-glib[introspection?], i.e. shouldn't force json-glib to be built without introspection with USE=-introspection. (b) The use-flag description for introspection should be: <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> note the <pkg> tag. (c) Please use EAPI 4 and REQUIRED_USE="vala? ( introspection )" instead of that silly eerror and die in pkg_setup(). When you move to EAPI 4, you can also drop src_install completely. (d) You probably want to use dev-libs/glib:2[introspection?] in RDEPEND since the glib typelibs are needed at runtime by the libdbusmenu typelibs. That dep is currently just pulling in gobject-introspection, but that will change in the future. (e) Please get yourself added as the maintainer in metadata.xml :)
Another problem: the vala dep is most likely wrong. Unless it *only* compiles with vala:0, it should use the latest vala, i.e.: vala? ( dev-lang/vala:0.12 ) and with: [...] $(use_enable test tests) \ $(use_enable vala) \ VAPIGEN=$(type -p vapigen-0.12) That will override the value of VAPIGEN from AC_PATH_PROG(VAPIGEN, vapigen) in configure. The fact that all upstreams use an unversioned vapigen path is an unfortunate side-effect of the fact that all binary distros ship only one vala slot, and keep the binaries unversioned. See bug 338067 for the whole story.
(In reply to comment #0) > (d) You probably want to use dev-libs/glib:2[introspection?] in RDEPEND since > the glib typelibs are needed at runtime by the libdbusmenu typelibs. That dep > is currently just pulling in gobject-introspection, but that will change in the > future. This is no longer valid. I've masked the use-flag since it was pulling in gobject-introspection on too many systems.
*** Bug 376571 has been marked as a duplicate of this bug. ***
All done in 0.5.1