Install AppData file with `.metainfo.xml` extension as this is the standard

According to https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData
the extension `.metainfo.xml` is now the standard and `.appdata.xml` is
only supported for historical reasons.
This commit is contained in:
Martchus 2024-05-15 18:00:48 +02:00
parent 14e9561e16
commit 054612f753
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function (add_appstream_file)
endif ()
# create appstream desktop file from template
set(APPSTREAM_FILE "${CMAKE_CURRENT_BINARY_DIR}/resources/${META_ID}.appdata.xml")
set(APPSTREAM_FILE "${CMAKE_CURRENT_BINARY_DIR}/resources/${META_ID}.metainfo.xml")
configure_file("${APP_APPSTREAM_TEMPLATE_FILE}" "${APPSTREAM_FILE}" @ONLY)
# add install for the appstream file