Verified Commit ebb6283a authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Clean up unneeded JSON parameter in kcoreaddons_add_plugin

The moc process already rebuilds the plugin when the JSON file changes, consequently the additional parameter is not needed.

Task: https://phabricator.kde.org/T14649
parent 3456f656
kcoreaddons_add_plugin(k3bffmpegdecoder
SOURCES k3bffmpegdecoder.cpp k3bffmpegwrapper.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3bffmpegdecoder.json")
INSTALL_NAMESPACE "k3b")
if(FFMPEG_INCLUDE_DIR_OLD_STYLE)
message(STATUS "didn't find new ffmpegcodecpath")
......
......@@ -17,8 +17,7 @@ configure_file(config-flac.h.cmake config-flac.h )
kcoreaddons_add_plugin(k3bflacdecoder
SOURCES k3bflacdecoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3bflacdecoder.json")
INSTALL_NAMESPACE "k3b")
target_include_directories(k3bflacdecoder PRIVATE ${FLAC++_INCLUDE_DIR} ${FLAC_INCLUDE_DIR})
......
kcoreaddons_add_plugin(k3blibsndfiledecoder
SOURCES k3blibsndfiledecoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3blibsndfiledecoder.json")
INSTALL_NAMESPACE "k3b")
target_include_directories(k3blibsndfiledecoder PRIVATE ${SNDFILE_INCLUDE_DIR})
......
kcoreaddons_add_plugin(k3bmaddecoder
SOURCES k3bmad.cpp k3bmaddecoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3bmaddecoder.json")
INSTALL_NAMESPACE "k3b")
target_include_directories(k3bmaddecoder PRIVATE ${MAD_INCLUDE_DIR})
......
......@@ -3,8 +3,7 @@ configure_file(k3bmpc_config.h.cmake k3bmpc_config.h)
kcoreaddons_add_plugin(k3bmpcdecoder
SOURCES k3bmpcdecoder.cpp k3bmpcwrapper.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3bmpcdecoder.json")
INSTALL_NAMESPACE "k3b")
target_include_directories(k3bmpcdecoder PRIVATE ${MUSE_INCLUDE_DIR})
......
kcoreaddons_add_plugin(k3boggvorbisdecoder
SOURCES k3boggvorbisdecoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3boggvorbisdecoder.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3boggvorbisdecoder k3bdevice k3blib KF5::I18n ${OGGVORBIS_LIBRARIES})
kcoreaddons_add_plugin(k3bwavedecoder
SOURCES k3bwavedecoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3bwavedecoder.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3bwavedecoder k3bdevice k3blib KF5::I18n)
kcoreaddons_add_plugin(k3bexternalencoder
SOURCES k3bexternalencoder.cpp k3bexternalencodercommand.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3bexternalencoder.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3bexternalencoder
k3bdevice
......
kcoreaddons_add_plugin(k3blameencoder
SOURCES k3blameencoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3blameencoder.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3blameencoder
k3bdevice
......
kcoreaddons_add_plugin(k3boggvorbisencoder
SOURCES k3boggvorbisencoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3boggvorbisencoder.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3boggvorbisencoder
k3bdevice
......
kcoreaddons_add_plugin(k3bsoxencoder
SOURCES k3bsoxencoder.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3bsoxencoder.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3bsoxencoder
k3bdevice
......
kcoreaddons_add_plugin(k3baudiometainforenamerplugin
SOURCES k3baudiometainforenamerplugin.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3baudiometainforenamerplugin.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3baudiometainforenamerplugin
k3bdevice
......
kcoreaddons_add_plugin(k3baudioprojectcddbplugin
SOURCES k3baudioprojectcddbplugin.cpp
INSTALL_NAMESPACE "k3b"
JSON "k3baudioprojectcddbplugin.json")
INSTALL_NAMESPACE "k3b")
target_link_libraries(k3baudioprojectcddbplugin
k3bdevice
......
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