Rename webp.xml to kf5-imagesformats-webp.xml on installation

This prevents a clash with kde-runtime 4, and is a better naming scheme
anyway (to prevent accidental clashes with mime packages from other
software).

REVIEW: 115913
This commit is contained in:
Alex Merry 2014-02-20 14:14:20 +00:00
parent 6272954cc5
commit 89a3e64c0e

View File

@ -112,7 +112,7 @@ if (WebP_FOUND)
)
if (SharedMimeInfo_FOUND)
# TODO: Remove when we can depend on shared-mime-info 1.3
install(FILES webp.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
install(FILES webp.xml DESTINATION ${XDG_MIME_INSTALL_DIR} RENAME kf5-imageformats-webp.xml)
update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
endif()
endif()