Allow .metainfo.xml for AppStream files
.metainfo.xml is the file extension that should be used for AppStream files. .appdata.xml is deprecated. Building with the old .appdata.xml extension will still work, but print a deprecated message. Fixes AppImage/appimagetool#77.
Thanks @JakobDev.
If we allow this here, we'd also need to take care of this in all consumers of AppImages that make use of AppStream, such as https://github.com/AppImage/appimage.github.io/...
@probonopd
I have now created a PR for appimage.github.io
btw: I think we should remove the appstream-util check. It is really outdated. appstreamcli is the reference implementation. appstream.util sometimes reports files that are valid as invalid.