2 add_subdirectory( widgets )
3 add_subdirectory( mimetypes )
5 find_package(Nepomuk REQUIRED)
13 ${CMAKE_SOURCE_DIR}/src/widgets
15 ${LIBMLTPLUS_INCLUDE_DIR}
26 kde4_add_ui_files(kdenlive_UI
27 widgets/timeline_ui.ui
29 widgets/recmonitor_ui.ui
30 widgets/colorclip_ui.ui
31 widgets/slideshowclip_ui.ui
32 widgets/configmisc_ui.ui
33 widgets/configenv_ui.ui
34 widgets/configdisplay_ui.ui
35 widgets/configsdl_ui.ui
36 widgets/configcapture_ui.ui
37 widgets/effectlist_ui.ui
38 widgets/effectstack_ui.ui
39 widgets/profiledialog_ui.ui
40 widgets/projectsettings_ui.ui
41 widgets/keyframewidget_ui.ui
42 widgets/constval_ui.ui
46 widgets/colorval_ui.ui
47 widgets/positionval_ui.ui
48 widgets/titlewidget_ui.ui
49 widgets/timelinebuttons_ui.ui
50 widgets/renderwidget_ui.ui
51 widgets/saveprofile_ui.ui
52 widgets/transitionsettings_ui.ui
53 widgets/configjogshuttle_ui.ui
54 widgets/trackheader_ui.ui
55 widgets/clipproperties_ui.ui
56 widgets/markerdialog_ui.ui
57 widgets/keyframedialog_ui.ui
58 widgets/clipdurationdialog_ui.ui
59 widgets/managecaptures_ui.ui
60 widgets/geometryval_ui.ui
61 widgets/wizardstandard_ui.ui
62 widgets/wizardextra_ui.ui
63 widgets/wizardcheck_ui.ui
64 widgets/wizardmltcheck_ui.ui
65 widgets/spacerdialog_ui.ui
66 widgets/addtrack_ui.ui
67 widgets/dvdwizardvob_ui.ui
68 widgets/dvdwizardmenu_ui.ui
69 widgets/dvdwizardiso_ui.ui
70 widgets/dvdwizardstatus_ui.ui
96 addtimelineclipcommand.cpp
104 editeffectcommand.cpp
105 moveeffectcommand.cpp
111 kdenlivesettingsdialog.cpp
114 graphicsscenerectmove.cpp
115 effectslistwidget.cpp
120 transitionsettings.cpp
122 addtransitioncommand.cpp
123 edittransitioncommand.cpp
125 editfoldercommand.cpp
127 movetransitioncommand.cpp
132 statusbarmessagelabel.cpp
134 editkeyframecommand.cpp
135 clipdurationdialog.cpp
136 managecapturesdialog.cpp
137 changespeedcommand.cpp
141 abstractgroupitem.cpp
144 insertspacecommand.cpp
147 changetrackcommand.cpp
155 add_definitions( ${KDE4_DEFINITIONS} )
158 add_definitions(-DNO_JOGSHUTTLE)
160 set(kdenlive_SRCS jogshuttle.cpp ${kdenlive_SRCS})
163 kde4_add_kcfg_files(kdenlive_SRCS GENERATE_MOC kdenlivesettings.kcfgc )
164 QT4_ADD_DBUS_ADAPTOR(kdenlive_SRCS org.kdenlive.MainWindow.xml mainwindow.h MainWindow)
165 kde4_add_executable(kdenlive ${kdenlive_SRCS} ${kdenlive_UI})
168 target_link_libraries(kdenlive
171 ${KDE4_KNEWSTUFF2_LIBS}
172 ${LIBMLTPLUS_LIBRARY}
175 ${KDE4_KNOTIFYCONFIG_LIBRARY}
179 find_package(SDL REQUIRED)
180 target_link_libraries(kdenlive ${SDL_LIBRARY})
183 install(TARGETS kdenlive DESTINATION ${BIN_INSTALL_DIR})
184 install( FILES kdenliveui.rc kdenlive.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kdenlive )
185 install (FILES kdenlivesettings.kcfg DESTINATION share/config.kcfg)
186 install (FILES kdenlive.desktop DESTINATION share/applications/kde)
187 install (FILES application-x-kdenlive.svgz video-mlt-playlist.svgz DESTINATION share/icons/oxygen/scalable/mimetypes)
188 install( FILES kdenlive.knsrc kdenlive_render.knsrc kdenlive_mltprofiles.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )
189 kde4_install_icons( ${ICON_INSTALL_DIR} )