Update appstream-glib to 0.5.4.
Switch from custom code to using USES=libarchive. Adjust BUILD_DEPEND lines in where needed.