mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 00:58:15 -04:00
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:
parent
6272954cc5
commit
89a3e64c0e
@ -112,7 +112,7 @@ if (WebP_FOUND)
|
|||||||
)
|
)
|
||||||
if (SharedMimeInfo_FOUND)
|
if (SharedMimeInfo_FOUND)
|
||||||
# TODO: Remove when we can depend on shared-mime-info 1.3
|
# 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})
|
update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user