Add USES=pkgconfig and switch USE_GNOME=gnomehack with USES=pathfix
Use new LIB_DEPEND style.

Taken from: MC