From bc7518bdba609f90ee89de8b4e7ddaa1e567b1a8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 18 Jun 2022 22:59:25 +0900 Subject: CMake conversion. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michele Calgaro Signed-off-by: Slávek Banko --- plugins/v4lradio/CMakeLists.txt | 30 ++++++++++++++++++++++++++++++ plugins/v4lradio/po/CMakeLists.txt | 1 + plugins/v4lradio/v4lradio.cpp | 7 ++++--- 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 plugins/v4lradio/CMakeLists.txt create mode 100644 plugins/v4lradio/po/CMakeLists.txt (limited to 'plugins/v4lradio') diff --git a/plugins/v4lradio/CMakeLists.txt b/plugins/v4lradio/CMakeLists.txt new file mode 100644 index 0000000..2953f45 --- /dev/null +++ b/plugins/v4lradio/CMakeLists.txt @@ -0,0 +1,30 @@ +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} +) + + +##### v4lradio (translations) + +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) + + +##### v4lradio (plugin) + +tde_add_kpart( libv4lradio AUTOMOC + SOURCES + v4lcfg_interfaces.cpp v4lradio-configuration.cpp + v4lradio-configuration-ui.ui v4lradio.cpp + + LINK tderadio-shared + DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins +) diff --git a/plugins/v4lradio/po/CMakeLists.txt b/plugins/v4lradio/po/CMakeLists.txt new file mode 100644 index 0000000..24e3bd8 --- /dev/null +++ b/plugins/v4lradio/po/CMakeLists.txt @@ -0,0 +1 @@ +tde_add_project_translations() diff --git a/plugins/v4lradio/v4lradio.cpp b/plugins/v4lradio/v4lradio.cpp index 97564ea..963ec56 100644 --- a/plugins/v4lradio/v4lradio.cpp +++ b/plugins/v4lradio/v4lradio.cpp @@ -180,7 +180,7 @@ void V4LRadio::noticeConnectedI (ISoundStreamServer *s, bool pointer_valid) s->register4_sendPlaybackVolume(this); s->register4_sendCaptureVolume(this); - + s->register4_sendStopCapture(this); s->register4_querySoundStreamDescription(this); @@ -1083,7 +1083,7 @@ ConfigPageInfo V4LRadio::createConfigurationPage() AboutPageInfo V4LRadio::createAboutPage() { - TDEAboutData aboutData("tderadio", +/* TDEAboutData aboutData("tderadio", NULL, NULL, I18N_NOOP("V4L/V4L2 Plugin for TDERadio." @@ -1104,7 +1104,8 @@ AboutPageInfo V4LRadio::createAboutPage() i18n("V4L/V4L2"), i18n("V4L/V4L2 Plugin"), "applications-utilities" - ); + );*/ + return AboutPageInfo(); } //////////////////////////////////////// -- cgit v1.2.1