Use USES=pathfix and add pkgconfig. Convert to OptionsNG. Add patch to fix the build with glib 2.36.x Obtained by: GNOME stage repo