svn path=/branches/KDE4/; revision=2318
add_subdirectory( widgets )
+add_subdirectory( mimetypes )
find_package(Nepomuk REQUIRED)
install( FILES kdenliveui.rc DESTINATION ${DATA_INSTALL_DIR}/kdenlive )
install (FILES kdenlivesettings.kcfg DESTINATION share/config.kcfg)
install (FILES kdenlive.desktop DESTINATION share/applications/kde)
+install (FILES application-x-kdenlive.svgz DESTINATION share/icons/oxygen/scalable/mimetypes)
+
Terminal=0
Name=Kdenlive
Name[de]=Kdenlive
-MimeType=application/vnd.kde.kdenlive;
+MimeType=application/x-kdenlive;
Categories=Qt;KDE;AudioVideo;
--- /dev/null
+find_package(SharedMimeInfo REQUIRED)
+
+install(FILES kdenlive.xml dv-video.xml hdv-video.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
+update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/x-kdenlive">
+ <comment>Kdenlive video project document</comment>
+ <glob pattern="*.kdenlive"/>
+ </mime-type>
+</mime-info>