Replace glib2 with glib2-devel in makedepends
glib2-devel provides glib-mkenums.
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
glib2-devel provides glib-mkenums.