-Wno-unused-value is needed to build with base GCC.
While here, add USES=gnome.
PR: 232608 Submitted by: Piotr Kubaj