svn path=/branches/KDE4/; revision=2384
find_package(SharedMimeInfo REQUIRED)
find_package(SharedMimeInfo REQUIRED)
-install(FILES kdenlive.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
+install(FILES kdenlive.xml westley.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
\ No newline at end of file
update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
\ No newline at end of file
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-kdenlive">
<comment>Kdenlive video project document</comment>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-kdenlive">
<comment>Kdenlive video project document</comment>
+ <sub-class-of type="video/mlt-playlist"/>
<glob pattern="*.kdenlive"/>
</mime-type>
</mime-info>
<glob pattern="*.kdenlive"/>
</mime-type>
</mime-info>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="video/mlt-playlist">
+ <comment>MLT video playlist</comment>
+ <glob pattern="*.westley"/>
+ <glob pattern="*.kdenlive"/>
+ </mime-type>
+</mime-info>