From 89a3e64c0eda9acefdd17782c5ade4d521615a9e Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Thu, 20 Feb 2014 14:14:20 +0000 Subject: [PATCH] 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 --- src/imageformats/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imageformats/CMakeLists.txt b/src/imageformats/CMakeLists.txt index e028deb..07ce79e 100644 --- a/src/imageformats/CMakeLists.txt +++ b/src/imageformats/CMakeLists.txt @@ -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()