Use AsUrlKind from libappstream-glib