After using the provided scripts dependancy for qjoypad should be: RDEPEND="|| ( ( x11-libs/libXtst ) virtual/x11 )" DEPEND="${RDEPEND} || ( ( x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) x11-libs/qt" but qt itself already contains all the needed dependancy (use flags count nothing since libXi depends on libXext) except libXtst... So I'm not so sure if xextproto and xproto are redundant lines (I wuold bet they aren't cause are proto DEPENDS, but better ask first than cry last...)
Fixed in CVS... thanks for the bug report and the information...