summaryrefslogtreecommitdiffstats
path: root/plugins/recording
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-06-18 22:59:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-07-10 17:59:48 +0900
commit5161d40d204dc6dbd9c34b5be0052243240f15b1 (patch)
tree5ccc61290c25f3c1f18a1e821ea59f90df97518e /plugins/recording
parente46a8b8db6082f7d5e293407d654f127c48a0256 (diff)
downloadtderadio-5161d40d.tar.gz
tderadio-5161d40d.zip
CMake conversion.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8)
Diffstat (limited to 'plugins/recording')
-rw-r--r--plugins/recording/CMakeLists.txt33
-rw-r--r--plugins/recording/icons/CMakeLists.txt1
-rw-r--r--plugins/recording/po/CMakeLists.txt1
3 files changed, 35 insertions, 0 deletions
diff --git a/plugins/recording/CMakeLists.txt b/plugins/recording/CMakeLists.txt
new file mode 100644
index 0000000..8d9d382
--- /dev/null
+++ b/plugins/recording/CMakeLists.txt
@@ -0,0 +1,33 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### recording (icons and translations)
+
+add_subdirectory( icons )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### recording (plugin)
+
+tde_add_kpart( librecording AUTOMOC
+ SOURCES
+ recording-configuration.cpp recording-configuration-ui.ui recording.cpp
+ recording-config.cpp reccfg_interfaces.cpp encoder.cpp recording-datamonitor.cpp
+ recording-monitor.cpp encoder_mp3.cpp encoder_ogg.cpp encoder_pcm.cpp
+
+ LINK tderadio-shared ${LAME_LIBRARIES} ${OGG_LIBRARIES} ${VORBIS_LIBRARIES}
+ ${VORBISFILE_LIBRARIES} ${VORBISENC_LIBRARIES} ${SNDFILE_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/recording/icons/CMakeLists.txt b/plugins/recording/icons/CMakeLists.txt
new file mode 100644
index 0000000..63f765b
--- /dev/null
+++ b/plugins/recording/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )
diff --git a/plugins/recording/po/CMakeLists.txt b/plugins/recording/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/recording/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()