Commit fcc14a6e authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Albert Astals Cid
Browse files

Use k3b as install namespace

parent 7431ad73
......@@ -110,7 +110,7 @@ KCModuleProxy* K3b::PluginManager::Private::getModuleProxy( Plugin* plugin ) con
void K3b::PluginManager::loadAll()
{
const QVector<KPluginMetaData> metadataList = KPluginLoader::findPlugins("k3b_plugins");
const QVector<KPluginMetaData> metadataList = KPluginLoader::findPlugins("k3b");
for (const auto &metadata : metadataList) {
KPluginLoader loader(metadata.fileName());
KPluginFactory *factory = loader.factory();
......
kcoreaddons_add_plugin(k3bffmpegdecoder SOURCES k3bffmpegdecoder.cpp k3bffmpegwrapper.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3bffmpegdecoder SOURCES k3bffmpegdecoder.cpp k3bffmpegwrapper.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3bffmpegdecoder "k3bffmpegdecoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
if(FFMPEG_INCLUDE_DIR_OLD_STYLE)
......
......@@ -15,7 +15,7 @@ endif()
configure_file(config-flac.h.cmake config-flac.h )
kcoreaddons_add_plugin(k3bflacdecoder SOURCES k3bflacdecoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3bflacdecoder SOURCES k3bflacdecoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3bflacdecoder "k3bflacdecoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_include_directories(k3bflacdecoder PRIVATE ${FLAC++_INCLUDE_DIR} ${FLAC_INCLUDE_DIR} ${TAGLIB_INCLUDES})
......
kcoreaddons_add_plugin(k3blibsndfiledecoder SOURCES k3blibsndfiledecoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3blibsndfiledecoder SOURCES k3blibsndfiledecoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3blibsndfiledecoder "k3blibsndfiledecoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_include_directories(k3blibsndfiledecoder PRIVATE ${SNDFILE_INCLUDE_DIR})
......
kcoreaddons_add_plugin(k3bmaddecoder SOURCES k3bmad.cpp k3bmaddecoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3bmaddecoder SOURCES k3bmad.cpp k3bmaddecoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3bmaddecoder "k3bmaddecoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_include_directories(k3bmaddecoder PRIVATE ${MAD_INCLUDE_DIR} ${TAGLIB_INCLUDES})
......
configure_file(k3bmpc_config.h.cmake k3bmpc_config.h)
kcoreaddons_add_plugin(k3bmpcdecoder SOURCES k3bmpcdecoder.cpp k3bmpcwrapper.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3bmpcdecoder SOURCES k3bmpcdecoder.cpp k3bmpcwrapper.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3bmpcdecoder "k3bmpcdecoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_include_directories(k3bmpcdecoder PRIVATE ${MUSE_INCLUDE_DIR})
......
kcoreaddons_add_plugin(k3boggvorbisdecoder SOURCES k3boggvorbisdecoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3boggvorbisdecoder SOURCES k3boggvorbisdecoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3boggvorbisdecoder "k3boggvorbisdecoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3boggvorbisdecoder k3bdevice k3blib KF5::I18n ${OGGVORBIS_LIBRARIES})
kcoreaddons_add_plugin(k3bwavedecoder SOURCES k3bwavedecoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3bwavedecoder SOURCES k3bwavedecoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3bwavedecoder "k3bwavedecoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3bwavedecoder k3bdevice k3blib KF5::I18n)
kcoreaddons_add_plugin(k3bexternalencoder SOURCES k3bexternalencoder.cpp k3bexternalencodercommand.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3bexternalencoder SOURCES k3bexternalencoder.cpp k3bexternalencodercommand.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3bexternalencoder "k3bexternalencoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3bexternalencoder
......
kcoreaddons_add_plugin(k3blameencoder SOURCES k3blameencoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3blameencoder SOURCES k3blameencoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3blameencoder "k3blameencoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3blameencoder
......
kcoreaddons_add_plugin(k3boggvorbisencoder SOURCES k3boggvorbisencoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3boggvorbisencoder SOURCES k3boggvorbisencoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3boggvorbisencoder "k3boggvorbisencoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3boggvorbisencoder
......
kcoreaddons_add_plugin(k3bsoxencoder SOURCES k3bsoxencoder.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3bsoxencoder SOURCES k3bsoxencoder.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3bsoxencoder "k3bsoxencoder.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3bsoxencoder
......
include_directories(${TAGLIB_INCLUDES})
kcoreaddons_add_plugin(k3baudiometainforenamerplugin SOURCES k3baudiometainforenamerplugin.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3baudiometainforenamerplugin SOURCES k3baudiometainforenamerplugin.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3baudiometainforenamerplugin "k3baudiometainforenamerplugin.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3baudiometainforenamerplugin
......
kcoreaddons_add_plugin(k3baudioprojectcddbplugin SOURCES k3baudioprojectcddbplugin.cpp INSTALL_NAMESPACE "k3b_plugins")
kcoreaddons_add_plugin(k3baudioprojectcddbplugin SOURCES k3baudioprojectcddbplugin.cpp INSTALL_NAMESPACE "k3b")
kcoreaddons_desktop_to_json(k3baudioprojectcddbplugin "k3baudioprojectcddbplugin.desktop" SERVICE_TYPES ${CMAKE_SOURCE_DIR}/libk3b/plugin/k3bplugin.desktop)
target_link_libraries(k3baudioprojectcddbplugin
......
......@@ -64,6 +64,7 @@ qt5_add_dbus_adaptor( dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.AudioProj
qt5_generate_dbus_interface( ${CMAKE_CURRENT_SOURCE_DIR}/k3bdataprojectinterface.h org.k3b.DataProject.xml )
qt5_add_dbus_adaptor( dbus_sources ${CMAKE_CURRENT_BINARY_DIR}/org.k3b.DataProject.xml k3bdataprojectinterface.h K3b::DataProjectInterface k3bdataprojectinterfaceadaptor K3bDataProjectInterfaceAdaptor )
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
add_executable(k3b
k3bwelcomewidget.cpp
k3bapplication.cpp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment