Warning, /multimedia/k3b/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 add_subdirectory( helper ) 0003 0004 add_subdirectory( icons ) 0005 add_subdirectory( pics ) 0006 add_subdirectory( services ) 0007 0008 0009 ########### next target ############### 0010 0011 ki18n_wrap_ui(ui_sources 0012 option/base_k3bthemeoptiontab.ui 0013 option/base_k3bmiscoptiontab.ui 0014 option/base_k3bpluginoptiontab.ui 0015 projects/base_k3baudiocdtextwidget.ui 0016 projects/base_k3bbootimagedialog.ui 0017 projects/base_k3badvanceddataimagesettings.ui 0018 projects/base_k3baudiocdtextallfieldsdialog.ui 0019 projects/base_k3bdataimagesettings.ui 0020 projects/base_k3bdatavolumedescdialog.ui 0021 projects/base_k3baudiotrackwidget.ui 0022 projects/base_k3bmovixoptionswidget.ui 0023 rip/base_k3baudiorippingoptionwidget.ui 0024 rip/base_k3bcddbpatternwidget.ui 0025 ) 0026 0027 if(ENABLE_AUDIO_PLAYER) 0028 set(audioplayer_sources projects/k3baudiotrackplayer.cpp) 0029 endif() 0030 0031 if(ENABLE_DVD_RIPPING) 0032 set(videodvd_sources 0033 rip/videodvd/k3bvideodvdaudiomodel.cpp 0034 rip/videodvd/k3bvideodvdrippingview.cpp 0035 rip/videodvd/k3bvideodvdrippingjob.cpp 0036 rip/videodvd/k3bvideodvdrippingwidget.cpp 0037 rip/videodvd/k3bvideodvdrippingdialog.cpp 0038 rip/videodvd/k3bvideodvdrippingpreview.cpp 0039 rip/videodvd/k3bvideodvdtitledelegate.cpp 0040 rip/videodvd/k3bvideodvdtitlemodel.cpp 0041 ) 0042 0043 ki18n_wrap_ui(ui_sources rip/videodvd/base_k3bvideodvdrippingwidget.ui) 0044 endif() 0045 0046 if(ENABLE_MUSICBRAINZ) 0047 set(musicbrainz_sources 0048 k3btrm.cpp 0049 k3bmusicbrainz.cpp 0050 projects/k3bmusicbrainzjob.cpp 0051 projects/k3bmusicbrainztrackloopupjob.cpp 0052 projects/k3baudiotracktrmlookupdialog.cpp 0053 ) 0054 endif() 0055 0056 qt_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/k3binterface.h org.k3b.MainWindow.xml ) 0057 qt_add_dbus_adaptor( dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.MainWindow.xml k3binterface.h K3b::Interface k3binterfaceadaptor K3bInterfaceAdaptor ) 0058 qt_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/k3bjobinterface.h org.k3b.Job.xml ) 0059 qt_add_dbus_adaptor( dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.Job.xml k3bjobinterface.h K3b::JobInterface k3bjobinterfaceadaptor K3bJobInterfaceAdaptor ) 0060 qt_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/k3bprojectinterface.h org.k3b.Project.xml ) 0061 qt_add_dbus_adaptor( dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.Project.xml k3bprojectinterface.h K3b::ProjectInterface k3bprojectinterfaceadaptor K3bProjectInterfaceAdaptor ) 0062 qt_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/k3baudioprojectinterface.h org.k3b.AudioProject.xml ) 0063 qt_add_dbus_adaptor( dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.AudioProject.xml k3baudioprojectinterface.h K3b::AudioProjectInterface k3baudioprojectinterfaceadaptor K3bAudioProjectInterfaceAdaptor ) 0064 qt_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/k3bdataprojectinterface.h org.k3b.DataProject.xml ) 0065 qt_add_dbus_adaptor( dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.DataProject.xml k3bdataprojectinterface.h K3b::DataProjectInterface k3bdataprojectinterfaceadaptor K3bDataProjectInterfaceAdaptor ) 0066 0067 ecm_qt_declare_logging_category(log_sources 0068 HEADER kostore_log.h 0069 IDENTIFIER K3B_KOSTORE_LOG 0070 CATEGORY_NAME k3b.kostore 0071 DESCRIPTION "k3b KoStore" 0072 EXPORT K3B 0073 ) 0074 0075 add_executable(k3b 0076 k3bwelcomewidget.cpp 0077 k3bapplication.cpp 0078 k3bdevicedelegate.cpp 0079 k3bmediumdelegate.cpp 0080 k3bmetaitemmodel.cpp 0081 k3bplacesmodel.cpp 0082 k3bdiroperator.cpp 0083 k3bfiletreeview.cpp 0084 k3bprojecttabwidget.cpp 0085 k3bsplash.cpp 0086 k3bfileview.cpp 0087 k3bdirview.cpp 0088 k3b.cpp 0089 main.cpp 0090 k3bstatusbarmanager.cpp 0091 k3burlnavigator.cpp 0092 k3binterface.cpp 0093 k3bjobinterface.cpp 0094 k3baudioprojectinterface.cpp 0095 k3bdataprojectinterface.cpp 0096 k3bmixedprojectinterface.cpp 0097 k3bprojectinterface.cpp 0098 k3bsystemproblemdialog.cpp 0099 k3bmediacontentsview.cpp 0100 k3bcontentsview.cpp 0101 k3bjobprogressdialog.cpp 0102 k3bburnprogressdialog.cpp 0103 k3btempdirselectionwidget.cpp 0104 k3bdatamodewidget.cpp 0105 k3bwritingmodewidget.cpp 0106 k3bwriterselectionwidget.cpp 0107 k3binteractiondialog.cpp 0108 k3bthememanager.cpp 0109 k3bprojectmanager.cpp 0110 k3bflatbutton.cpp 0111 k3bemptydiscwaiter.cpp 0112 k3bdebuggingoutputcache.cpp 0113 k3bdebuggingoutputdialog.cpp 0114 k3bdebuggingoutputfile.cpp 0115 k3bappdevicemanager.cpp 0116 k3bmediaselectioncombobox.cpp 0117 k3bwidgetshoweffect.cpp 0118 k3bmediaselectiondialog.cpp 0119 k3bdiskinfoview.cpp 0120 k3btimeoutwidget.cpp 0121 k3bthemedheader.cpp 0122 k3bthemedlabel.cpp 0123 k3blsofwrapper.cpp 0124 k3blsofwrapperdialog.cpp 0125 k3baction.cpp 0126 k3bdevicemenu.cpp 0127 k3bviewcolumnadjuster.cpp 0128 k3bmodelutils.cpp 0129 helper/k3bhelperprogramitem.cpp 0130 misc/k3bimagewritingdialog.cpp 0131 misc/k3bmediacopydialog.cpp 0132 misc/k3bmediaformattingdialog.cpp 0133 option/k3bmiscoptiontab.cpp 0134 option/k3bexternalbinmodel.cpp 0135 option/k3bexternalbinoptiontab.cpp 0136 option/k3bexternalbinparamsmodel.cpp 0137 option/k3bexternalbinpermissionmodel.cpp 0138 option/k3badvancedoptiontab.cpp 0139 option/k3boptiondialog.cpp 0140 option/k3bdeviceoptiontab.cpp 0141 option/k3bnotifyoptiontab.cpp 0142 option/k3bpluginoptiontab.cpp 0143 option/k3bthemeoptiontab.cpp 0144 option/k3bthememodel.cpp 0145 option/k3bdevicewidget.cpp 0146 option/k3bexternalbinwidget.cpp 0147 option/k3bcddboptiontab.cpp 0148 projects/k3baudioburndialog.cpp 0149 projects/k3baudiocdtextwidget.cpp 0150 projects/k3baudioeditorwidget.cpp 0151 projects/k3baudiotrackdialog.cpp 0152 projects/k3baudiotrackwidget.cpp 0153 projects/k3baudiotracksplitdialog.cpp 0154 projects/k3baudioview.cpp 0155 projects/k3baudioviewimpl.cpp 0156 projects/k3baudioprojectdelegate.cpp 0157 projects/k3baudioprojectmodel.cpp 0158 projects/k3bmixedburndialog.cpp 0159 projects/k3bmixedview.cpp 0160 projects/k3bdataadvancedimagesettingsdialog.cpp 0161 projects/k3bdatadirtreeview.cpp 0162 projects/k3bdataimagesettingswidget.cpp 0163 projects/k3bdatapropertiesdialog.cpp 0164 projects/k3bdataview.cpp 0165 projects/k3bdataviewimpl.cpp 0166 projects/k3bdatavolumedescdialog.cpp 0167 projects/k3bdataburndialog.cpp 0168 projects/k3bdataprojectdelegate.cpp 0169 projects/k3bdataprojectmodel.cpp 0170 projects/k3bdataprojectsortproxymodel.cpp 0171 projects/k3bbootimagedialog.cpp 0172 projects/k3bbootimagemodel.cpp 0173 projects/k3bmovixburndialog.cpp 0174 projects/k3bmovixoptionswidget.cpp 0175 projects/k3bmovixview.cpp 0176 projects/k3bmovixprojectmodel.cpp 0177 projects/k3bvideodvdburndialog.cpp 0178 projects/k3bvideodvdview.cpp 0179 projects/k3bvcdburndialog.cpp 0180 projects/k3bvcdtrackdialog.cpp 0181 projects/k3bvcdtrackkeysdelegate.cpp 0182 projects/k3bvcdtrackkeysmodel.cpp 0183 projects/k3bvcdview.cpp 0184 projects/k3bvcdprojectmodel.cpp 0185 projects/k3bfillstatusdisplay.cpp 0186 projects/k3bview.cpp 0187 projects/k3bdirproxymodel.cpp 0188 projects/k3bprojectburndialog.cpp 0189 projects/k3bprojectplugindialog.cpp 0190 projects/k3bdatamultisessioncombobox.cpp 0191 projects/k3bdataurladdingdialog.cpp 0192 projects/k3baudiodatasourceeditwidget.cpp 0193 projects/k3baudiotrackaddingdialog.cpp 0194 projects/k3bencodingconverter.cpp 0195 projects/k3bdatamultisessionimportdialog.cpp 0196 projects/k3bvolumenamewidget.cpp 0197 projects/kostore/KoStore.cpp 0198 projects/kostore/KoZipStore.cpp 0199 projects/kostore/KoStoreBase.cpp 0200 rip/k3baudioripjob.cpp 0201 rip/k3bpatternparser.cpp 0202 rip/k3baudiorippingdialog.cpp 0203 rip/k3baudiocdview.cpp 0204 rip/k3bcddbpatternwidget.cpp 0205 rip/k3bmassaudioencodingjob.cpp 0206 rip/k3bvideocdinfo.cpp 0207 rip/k3bvideocdview.cpp 0208 rip/k3bvideocdrip.cpp 0209 rip/k3bvideocdrippingdialog.cpp 0210 rip/k3bcuefilewriter.cpp 0211 rip/k3baudioconvertingoptionwidget.cpp 0212 rip/k3baudioprojectconvertingdialog.cpp 0213 rip/k3baudioprojectconvertingjob.cpp 0214 rip/categories.cpp 0215 rip/k3baudiotrackmodel.cpp 0216 ${log_sources} 0217 ${ui_sources} 0218 ${audioplayer_sources} 0219 ${musicbrainz_sources} 0220 ${videodvd_sources} 0221 ${dbus_sources} 0222 0223 k3b.qrc 0224 ) 0225 0226 target_include_directories(k3b PRIVATE 0227 ${CMAKE_BINARY_DIR} 0228 helper 0229 projects 0230 projects/kostore 0231 ) 0232 0233 target_link_libraries(k3b 0234 k3bdevice 0235 k3blib 0236 ${KCDDB_TARGET_NAME} 0237 KF${KF_MAJOR_VERSION}::Archive 0238 KF${KF_MAJOR_VERSION}::AuthCore 0239 KF${KF_MAJOR_VERSION}::I18n 0240 KF${KF_MAJOR_VERSION}::IconThemes 0241 KF${KF_MAJOR_VERSION}::JobWidgets 0242 KF${KF_MAJOR_VERSION}::KIOFileWidgets 0243 KF${KF_MAJOR_VERSION}::KCMUtils 0244 KF${KF_MAJOR_VERSION}::NewStuffCore KF${KF_MAJOR_VERSION}::NewStuffWidgets 0245 KF${KF_MAJOR_VERSION}::Notifications 0246 KF${KF_MAJOR_VERSION}::NotifyConfig 0247 KF${KF_MAJOR_VERSION}::Solid 0248 KF${KF_MAJOR_VERSION}::XmlGui 0249 KF${KF_MAJOR_VERSION}::ConfigCore 0250 ) 0251 if (QT_MAJOR_VERSION STREQUAL "6") 0252 target_link_libraries(k3b Qt6::Core5Compat KF6::BookmarksWidgets) 0253 endif() 0254 0255 if(Qt${QT_MAJOR_VERSION}WebEngineWidgets_FOUND) 0256 target_link_libraries(k3b Qt${QT_MAJOR_VERSION}::WebEngineWidgets) 0257 endif() 0258 0259 if(ICONV_FOUND) 0260 target_include_directories(k3b PRIVATE ${ICONV_INCLUDE_DIR}) 0261 target_link_libraries(k3b ${ICONV_LIBRARIES}) 0262 endif() 0263 0264 if(ENABLE_AUDIO_PLAYER) 0265 target_link_libraries(k3b Qt5::Multimedia) 0266 endif() 0267 0268 if(ENABLE_MUSICBRAINZ) 0269 target_link_libraries(k3b ${MUSICBRAINZ_LIBRARIES}) 0270 endif() 0271 0272 install(TARGETS k3b ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0273 0274 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/option/k3btheme.knsrc.cmake 0275 ${CMAKE_CURRENT_BINARY_DIR}/option/k3btheme.knsrc 0276 @ONLY) 0277 0278 0279 ########### install files ############### 0280 install( PROGRAMS org.kde.k3b.desktop DESTINATION ${KDE_INSTALL_APPDIR} ) 0281 #install( FILES k3b-iso.desktop k3b-cue.desktop DESTINATION ${APPLNK_INSTALL_DIR}/.hidden/ ) 0282 install( FILES k3b.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR} ) 0283 install( FILES org.kde.k3b.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} ) 0284 0285 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/option/k3btheme.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) 0286 0287 set( SHARED_MIME_INFO_MINIMUM_VERSION "0.23" ) 0288 find_package( SharedMimeInfo REQUIRED ) 0289 install( FILES x-k3b.xml DESTINATION ${KDE_INSTALL_MIMEDIR} ) 0290 update_xdg_mimetypes( ${KDE_INSTALL_MIMEDIR} )