From 737e53d58ce8cafd6f3835dc93721851476bad1c Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Wed, 24 Feb 2016 05:42:03 +0300 Subject: Initial cmake conversion --- plugins/CMakeLists.txt | 6 +++ plugins/audiooutput/CMakeLists.txt | 13 ++++++ plugins/audiooutput/alsa/CMakeLists.txt | 41 ++++++++++++++++++ plugins/audiooutput/arts/CMakeLists.txt | 43 +++++++++++++++++++ plugins/decoder/CMakeLists.txt | 18 ++++++++ plugins/decoder/ffmpeg/CMakeLists.txt | 48 ++++++++++++++++++++++ plugins/decoder/flac/CMakeLists.txt | 46 +++++++++++++++++++++ plugins/decoder/libsndfile/CMakeLists.txt | 43 +++++++++++++++++++ plugins/decoder/mp3/CMakeLists.txt | 43 +++++++++++++++++++ plugins/decoder/musepack/CMakeLists.txt | 45 ++++++++++++++++++++ plugins/decoder/ogg/CMakeLists.txt | 46 +++++++++++++++++++++ plugins/decoder/wave/CMakeLists.txt | 41 ++++++++++++++++++ plugins/encoder/CMakeLists.txt | 16 ++++++++ plugins/encoder/external/CMakeLists.txt | 43 +++++++++++++++++++ plugins/encoder/lame/CMakeLists.txt | 42 +++++++++++++++++++ plugins/encoder/ogg/CMakeLists.txt | 45 ++++++++++++++++++++ plugins/encoder/sox/CMakeLists.txt | 41 ++++++++++++++++++ plugins/project/CMakeLists.txt | 4 ++ .../project/audiometainforenamer/CMakeLists.txt | 44 ++++++++++++++++++++ plugins/project/audioprojectcddb/CMakeLists.txt | 45 ++++++++++++++++++++ 20 files changed, 713 insertions(+) create mode 100644 plugins/CMakeLists.txt create mode 100644 plugins/audiooutput/CMakeLists.txt create mode 100644 plugins/audiooutput/alsa/CMakeLists.txt create mode 100644 plugins/audiooutput/arts/CMakeLists.txt create mode 100644 plugins/decoder/CMakeLists.txt create mode 100644 plugins/decoder/ffmpeg/CMakeLists.txt create mode 100644 plugins/decoder/flac/CMakeLists.txt create mode 100644 plugins/decoder/libsndfile/CMakeLists.txt create mode 100644 plugins/decoder/mp3/CMakeLists.txt create mode 100644 plugins/decoder/musepack/CMakeLists.txt create mode 100644 plugins/decoder/ogg/CMakeLists.txt create mode 100644 plugins/decoder/wave/CMakeLists.txt create mode 100644 plugins/encoder/CMakeLists.txt create mode 100644 plugins/encoder/external/CMakeLists.txt create mode 100644 plugins/encoder/lame/CMakeLists.txt create mode 100644 plugins/encoder/ogg/CMakeLists.txt create mode 100644 plugins/encoder/sox/CMakeLists.txt create mode 100644 plugins/project/CMakeLists.txt create mode 100644 plugins/project/audiometainforenamer/CMakeLists.txt create mode 100644 plugins/project/audioprojectcddb/CMakeLists.txt (limited to 'plugins') diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt new file mode 100644 index 0000000..18395db --- /dev/null +++ b/plugins/CMakeLists.txt @@ -0,0 +1,6 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( decoder ) +add_subdirectory( encoder ) +add_subdirectory( audiooutput ) +add_subdirectory( project ) diff --git a/plugins/audiooutput/CMakeLists.txt b/plugins/audiooutput/CMakeLists.txt new file mode 100644 index 0000000..818b181 --- /dev/null +++ b/plugins/audiooutput/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_conditional_add_subdirectory( WITH_ALSA alsa ) +tde_conditional_add_subdirectory( WITH_ARTS arts ) diff --git a/plugins/audiooutput/alsa/CMakeLists.txt b/plugins/audiooutput/alsa/CMakeLists.txt new file mode 100644 index 0000000..efbe574 --- /dev/null +++ b/plugins/audiooutput/alsa/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${ALSA_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libk3balsaoutputplugin (kpart) ############ + +tde_add_kpart( libk3balsaoutputplugin AUTOMOC + SOURCES k3balsaoutputplugin.cpp + LINK tdecore-shared k3b-shared ${ALSA_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3balsaoutputplugin.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/audiooutput/arts/CMakeLists.txt b/plugins/audiooutput/arts/CMakeLists.txt new file mode 100644 index 0000000..58b4a97 --- /dev/null +++ b/plugins/audiooutput/arts/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${ARTS_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${ARTS_LIBRARY_DIRS} +) + + + +##### libk3bartsoutputplugin (kpart) ############ + +tde_add_kpart( libk3bartsoutputplugin AUTOMOC + SOURCES k3bartsoutputplugin.cpp + LINK tdecore-shared k3b-shared ${ARTS_LIBRARIES} artsc + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bartsoutputplugin.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/decoder/CMakeLists.txt b/plugins/decoder/CMakeLists.txt new file mode 100644 index 0000000..70fbb0a --- /dev/null +++ b/plugins/decoder/CMakeLists.txt @@ -0,0 +1,18 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( wave ) +tde_conditional_add_subdirectory( WITH_FFMPEG ffmpeg ) +tde_conditional_add_subdirectory( WITH_FLAC flac ) +tde_conditional_add_subdirectory( WITH_SNDFILE libsndfile ) +tde_conditional_add_subdirectory( WITH_MAD mp3 ) +tde_conditional_add_subdirectory( WITH_MUSEPACK musepack ) +tde_conditional_add_subdirectory( WITH_VORBIS ogg ) diff --git a/plugins/decoder/ffmpeg/CMakeLists.txt b/plugins/decoder/ffmpeg/CMakeLists.txt new file mode 100644 index 0000000..008d04d --- /dev/null +++ b/plugins/decoder/ffmpeg/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${LIBAVCODEC_LIBRARY_DIRS} + ${LIBAVFORMAT_LIBRARY_DIRS} + ${LIBAVUTIL_LIBRARY_DIRS} +) + +add_definitions( + -D__STDC_CONSTANT_MACROS +) + +##### libk3bffmpegdecoder (kpart) ############### + +tde_add_kpart( libk3bffmpegdecoder AUTOMOC + SOURCES k3bffmpegdecoder.cpp k3bffmpegwrapper.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared ${LIBAVFORMAT_LIBRARIES} + ${LIBAVCODEC_LIBRARIES} ${LIBAVUTIL_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bffmpegdecoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/decoder/flac/CMakeLists.txt b/plugins/decoder/flac/CMakeLists.txt new file mode 100644 index 0000000..75eea0d --- /dev/null +++ b/plugins/decoder/flac/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${FLAC_LIBRARY_DIRS} +) + +if( ${FLAC_VERSION} VERSION_GREATER "1.1.1" ) + add_definitions( -DFLAC_NEWER_THAN_1_1_1=1 ) +endif( ) + +##### libk3bflacdecoder (kpart) ################# + +tde_add_kpart( libk3bflacdecoder AUTOMOC + SOURCES k3bflacdecoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + ${FLAC_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bflacdecoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/decoder/libsndfile/CMakeLists.txt b/plugins/decoder/libsndfile/CMakeLists.txt new file mode 100644 index 0000000..fa387c0 --- /dev/null +++ b/plugins/decoder/libsndfile/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${SNDFILE_LIBRARY_DIRS} +) + + +##### libk3blibsndfiledecoder (kpart) ########### + +tde_add_kpart( libk3blibsndfiledecoder AUTOMOC + SOURCES k3blibsndfiledecoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + ${SNDFILE_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3blibsndfiledecoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/decoder/mp3/CMakeLists.txt b/plugins/decoder/mp3/CMakeLists.txt new file mode 100644 index 0000000..2c31bae --- /dev/null +++ b/plugins/decoder/mp3/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${MAD_LIBRARY_DIRS} +) + + +##### libk3bmaddecoder (kpart) ################## + +tde_add_kpart( libk3bmaddecoder AUTOMOC + SOURCES k3bmad.cpp k3bmaddecoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + ${MAD_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bmaddecoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/decoder/musepack/CMakeLists.txt b/plugins/decoder/musepack/CMakeLists.txt new file mode 100644 index 0000000..95fb7ae --- /dev/null +++ b/plugins/decoder/musepack/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +add_definitions ( + "-DMPC_HEADER_FILE=${MPCDEC_HEADER_FILE}" +) + +##### libk3bmpcdecoder (kpart) ################## + +tde_add_kpart( libk3bmpcdecoder AUTOMOC + SOURCES k3bmpcdecoder.cpp k3bmpcwrapper.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + mpcdec + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bmpcdecoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/decoder/ogg/CMakeLists.txt b/plugins/decoder/ogg/CMakeLists.txt new file mode 100644 index 0000000..d240d82 --- /dev/null +++ b/plugins/decoder/ogg/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${VORBIS_LIBRARY_DIRS} + ${VORBISFILE_LIBRARY_DIRS} + ${OGG_LIBRARY_DIRS} +) + + + +##### libk3boggvorbisdecoder (kpart) ############ + +tde_add_kpart( libk3boggvorbisdecoder AUTOMOC + SOURCES k3boggvorbisdecoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + ${VORBIS_LIBRARIES} ${VORBISFILE_LIBRARIES} ${OGG_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3boggvorbisdecoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/decoder/wave/CMakeLists.txt b/plugins/decoder/wave/CMakeLists.txt new file mode 100644 index 0000000..570cf4e --- /dev/null +++ b/plugins/decoder/wave/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libk3bwavedecoder (kpart) ################# + +tde_add_kpart( libk3bwavedecoder AUTOMOC + SOURCES k3bwavedecoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bwavedecoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/encoder/CMakeLists.txt b/plugins/encoder/CMakeLists.txt new file mode 100644 index 0000000..8a2c500 --- /dev/null +++ b/plugins/encoder/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + + +add_subdirectory( sox ) +add_subdirectory( external ) +tde_conditional_add_subdirectory( WITH_LAME lame ) +tde_conditional_add_subdirectory( WITH_VORBIS ogg ) diff --git a/plugins/encoder/external/CMakeLists.txt b/plugins/encoder/external/CMakeLists.txt new file mode 100644 index 0000000..e2b9f1a --- /dev/null +++ b/plugins/encoder/external/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libk3bexternalencoder (kpart) ############# + +tde_add_kpart( libk3bexternalencoder AUTOMOC + SOURCES base_k3bexternalencoderconfigwidget.ui + base_k3bexternalencodereditwidget.ui k3bexternalencoder.cpp + k3bexternalencoderconfigwidget.cpp k3bexternalencodercommand.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bexternalencoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/encoder/lame/CMakeLists.txt b/plugins/encoder/lame/CMakeLists.txt new file mode 100644 index 0000000..940ed62 --- /dev/null +++ b/plugins/encoder/lame/CMakeLists.txt @@ -0,0 +1,42 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libk3blameencoder (kpart) ################# + +tde_add_kpart( libk3blameencoder AUTOMOC + SOURCES base_k3blameencodersettingswidget.ui + base_k3bmanualbitratesettingswidget.ui k3blameencoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared mp3lame + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3blameencoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/encoder/ogg/CMakeLists.txt b/plugins/encoder/ogg/CMakeLists.txt new file mode 100644 index 0000000..cb7208b --- /dev/null +++ b/plugins/encoder/ogg/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${VORBIS_LIBRARY_DIRS} + ${VORBISENC_LIBRARY_DIRS} + ${OGG_LIBRARY_DIRS} +) + + +##### libk3boggvorbisencoder (kpart) ############ + +tde_add_kpart( libk3boggvorbisencoder AUTOMOC + SOURCES base_k3boggvorbisencodersettingswidget.ui k3boggvorbisencoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + ${VORBIS_LIBRARIES} ${VORBISENC_LIBRARIES} ${OGG_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3boggvorbisencoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/encoder/sox/CMakeLists.txt b/plugins/encoder/sox/CMakeLists.txt new file mode 100644 index 0000000..f0c4c38 --- /dev/null +++ b/plugins/encoder/sox/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libk3bsoxencoder (kpart) ################## + +tde_add_kpart( libk3bsoxencoder AUTOMOC + SOURCES base_k3bsoxencoderconfigwidget.ui k3bsoxencoder.cpp + LINK tdecore-shared k3b-shared k3bdevice-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3bsoxencoder.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/project/CMakeLists.txt b/plugins/project/CMakeLists.txt new file mode 100644 index 0000000..d3f3390 --- /dev/null +++ b/plugins/project/CMakeLists.txt @@ -0,0 +1,4 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( audioprojectcddb ) +add_subdirectory( audiometainforenamer ) diff --git a/plugins/project/audiometainforenamer/CMakeLists.txt b/plugins/project/audiometainforenamer/CMakeLists.txt new file mode 100644 index 0000000..55566c0 --- /dev/null +++ b/plugins/project/audiometainforenamer/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/datacd + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libk3baudiometainforenamerplugin (kpart) ## + +tde_add_kpart( libk3baudiometainforenamerplugin AUTOMOC + SOURCES k3baudiometainforenamerplugin.cpp + LINK tdecore-shared k3b-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3baudiometainforenamerplugin.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) diff --git a/plugins/project/audioprojectcddb/CMakeLists.txt b/plugins/project/audioprojectcddb/CMakeLists.txt new file mode 100644 index 0000000..fae15a0 --- /dev/null +++ b/plugins/project/audioprojectcddb/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2016 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libk3b/core + ${CMAKE_SOURCE_DIR}/libk3b/tools + ${CMAKE_SOURCE_DIR}/libk3b/plugin + ${CMAKE_SOURCE_DIR}/libk3b/projects + ${CMAKE_SOURCE_DIR}/libk3b/projects/audiocd + ${CMAKE_SOURCE_DIR}/libk3b/cddb + ${CMAKE_SOURCE_DIR}/libk3bdevice + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### libk3baudioprojectcddbplugin (kpart) ###### + +tde_add_kpart( libk3baudioprojectcddbplugin AUTOMOC + SOURCES k3baudioprojectcddbplugin.cpp + LINK tdecore-shared k3b-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES k3baudioprojectcddbplugin.plugin + DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins +) -- cgit v1.2.3