summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt14
-rw-r--r--plugins/alsa-sound/CMakeLists.txt31
-rw-r--r--plugins/alsa-sound/icons/CMakeLists.txt1
-rw-r--r--plugins/alsa-sound/po/CMakeLists.txt1
-rw-r--r--plugins/gui-docking-menu/CMakeLists.txt28
-rw-r--r--plugins/gui-docking-menu/po/CMakeLists.txt1
-rw-r--r--plugins/gui-error-log/CMakeLists.txt27
-rw-r--r--plugins/gui-error-log/po/CMakeLists.txt1
-rw-r--r--plugins/gui-quickbar/CMakeLists.txt29
-rw-r--r--plugins/gui-quickbar/po/CMakeLists.txt1
-rw-r--r--plugins/gui-standard-display/CMakeLists.txt31
-rw-r--r--plugins/gui-standard-display/po/CMakeLists.txt1
-rw-r--r--plugins/lirc/CMakeLists.txt35
-rw-r--r--plugins/lirc/dot-lircrc.example221
-rw-r--r--plugins/lirc/lircsupport.cpp10
-rw-r--r--plugins/lirc/lircsupport.h2
-rw-r--r--plugins/lirc/po/CMakeLists.txt1
-rw-r--r--plugins/lirc/po/tderadio-lirc/tderadio-lirc.pot22
-rw-r--r--plugins/oss-sound/CMakeLists.txt28
-rw-r--r--plugins/oss-sound/icons/CMakeLists.txt1
-rw-r--r--plugins/oss-sound/po/CMakeLists.txt1
-rw-r--r--plugins/radio/CMakeLists.txt28
-rw-r--r--plugins/radio/po/CMakeLists.txt1
-rw-r--r--plugins/recording/CMakeLists.txt33
-rw-r--r--plugins/recording/icons/CMakeLists.txt1
-rw-r--r--plugins/recording/po/CMakeLists.txt1
-rw-r--r--plugins/soundserver/CMakeLists.txt27
-rw-r--r--plugins/soundserver/po/CMakeLists.txt1
-rw-r--r--plugins/streaming/CMakeLists.txt31
-rw-r--r--plugins/streaming/icons/CMakeLists.txt1
-rw-r--r--plugins/streaming/po/CMakeLists.txt1
-rw-r--r--plugins/timecontrol/CMakeLists.txt28
-rw-r--r--plugins/timecontrol/icons/CMakeLists.txt1
-rw-r--r--plugins/timecontrol/po/CMakeLists.txt1
-rw-r--r--plugins/timeshifter/CMakeLists.txt28
-rw-r--r--plugins/timeshifter/icons/CMakeLists.txt1
-rw-r--r--plugins/timeshifter/po/CMakeLists.txt1
-rw-r--r--plugins/v4lradio/CMakeLists.txt30
-rw-r--r--plugins/v4lradio/po/CMakeLists.txt1
-rw-r--r--plugins/v4lradio/v4lradio.cpp7
40 files changed, 684 insertions, 26 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
new file mode 100644
index 0000000..a66159c
--- /dev/null
+++ b/plugins/CMakeLists.txt
@@ -0,0 +1,14 @@
+tde_conditional_add_subdirectory( BUILD_ALSA_PLUGIN alsa-sound )
+add_subdirectory( gui-docking-menu )
+add_subdirectory( gui-error-log )
+add_subdirectory( gui-quickbar )
+add_subdirectory( gui-standard-display )
+tde_conditional_add_subdirectory( BUILD_LIRC_PLUGIN lirc )
+tde_conditional_add_subdirectory( BUILD_OSS_PLUGIN oss-sound )
+add_subdirectory( radio )
+add_subdirectory( recording )
+add_subdirectory( soundserver )
+add_subdirectory( streaming )
+add_subdirectory( timecontrol )
+add_subdirectory( timeshifter )
+add_subdirectory( v4lradio )
diff --git a/plugins/alsa-sound/CMakeLists.txt b/plugins/alsa-sound/CMakeLists.txt
new file mode 100644
index 0000000..0d8a5f0
--- /dev/null
+++ b/plugins/alsa-sound/CMakeLists.txt
@@ -0,0 +1,31 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### alsa-sound (icons and translations)
+
+add_subdirectory( icons )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### alsa-sound (plugin)
+
+tde_add_kpart( libalsa-sound AUTOMOC
+ SOURCES
+ alsa-sound.cpp alsa-sound-configuration-ui.ui
+ alsa-sound-configuration.cpp alsa-mixer-element-ui.ui
+ alsa-mixer-element.cpp alsa-config-mixer-setting.cpp
+
+ LINK tderadio-shared ${ALSA_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/alsa-sound/icons/CMakeLists.txt b/plugins/alsa-sound/icons/CMakeLists.txt
new file mode 100644
index 0000000..63f765b
--- /dev/null
+++ b/plugins/alsa-sound/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )
diff --git a/plugins/alsa-sound/po/CMakeLists.txt b/plugins/alsa-sound/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/alsa-sound/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/gui-docking-menu/CMakeLists.txt b/plugins/gui-docking-menu/CMakeLists.txt
new file mode 100644
index 0000000..4ebed5e
--- /dev/null
+++ b/plugins/gui-docking-menu/CMakeLists.txt
@@ -0,0 +1,28 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/src
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### gui-docking-menu (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### gui-docking-menu (plugin)
+
+tde_add_kpart( libdocking-menu AUTOMOC
+ SOURCES docking-configuration.cpp docking.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/gui-docking-menu/po/CMakeLists.txt b/plugins/gui-docking-menu/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/gui-docking-menu/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/gui-error-log/CMakeLists.txt b/plugins/gui-error-log/CMakeLists.txt
new file mode 100644
index 0000000..1d3770a
--- /dev/null
+++ b/plugins/gui-error-log/CMakeLists.txt
@@ -0,0 +1,27 @@
+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}
+)
+
+
+##### gui-error-log (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### gui-error-log (plugin)
+
+tde_add_kpart( liberror-log AUTOMOC
+ SOURCES errorlog.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/gui-error-log/po/CMakeLists.txt b/plugins/gui-error-log/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/gui-error-log/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/gui-quickbar/CMakeLists.txt b/plugins/gui-quickbar/CMakeLists.txt
new file mode 100644
index 0000000..df05cc4
--- /dev/null
+++ b/plugins/gui-quickbar/CMakeLists.txt
@@ -0,0 +1,29 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/src
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+ ${SNDFILE_LIBRARY_DIRS}
+)
+
+
+##### gui-quickbar (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### gui-quickbar (plugin)
+
+tde_add_kpart( libquickbar AUTOMOC
+ SOURCES buttonflowlayout.cpp quickbar.cpp quickbar-configuration.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/gui-quickbar/po/CMakeLists.txt b/plugins/gui-quickbar/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/gui-quickbar/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/gui-standard-display/CMakeLists.txt b/plugins/gui-standard-display/CMakeLists.txt
new file mode 100644
index 0000000..7629d21
--- /dev/null
+++ b/plugins/gui-standard-display/CMakeLists.txt
@@ -0,0 +1,31 @@
+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}
+)
+
+
+##### gui-standard-display (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### gui-standard-display (plugin)
+
+tde_add_kpart( libstandard-display AUTOMOC
+ SOURCES
+ displaycfg.cpp displaycfg_interfaces.cpp radioview-configuration.cpp
+ radioview.cpp radioview_element.cpp radioview_frequencyradio.cpp
+ radioview_frequencyseeker.cpp radioview_volume.cpp
+
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/gui-standard-display/po/CMakeLists.txt b/plugins/gui-standard-display/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/gui-standard-display/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/lirc/CMakeLists.txt b/plugins/lirc/CMakeLists.txt
new file mode 100644
index 0000000..f0e35a1
--- /dev/null
+++ b/plugins/lirc/CMakeLists.txt
@@ -0,0 +1,35 @@
+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}
+)
+
+
+##### lirc (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### lirc (plugin)
+
+tde_add_kpart( liblirc AUTOMOC
+ SOURCES lircsupport.cpp lirc-configuration-ui.ui lirc-configuration.cpp listviewitem_lirc.cpp
+ LINK tderadio-shared ${LIRC_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
+
+
+##### other data
+
+INSTALL(
+ FILES default-dot-lircrc
+ DESTINATION ${DATA_INSTALL_DIR}/tderadio
+)
diff --git a/plugins/lirc/dot-lircrc.example b/plugins/lirc/dot-lircrc.example
new file mode 100644
index 0000000..73176c4
--- /dev/null
+++ b/plugins/lirc/dot-lircrc.example
@@ -0,0 +1,221 @@
+begin
+ flags = startup_mode
+ mode = TV-off
+end
+
+
+begin TV-off
+
+ begin
+ button = RESERVED
+ repeat = 0
+ prog = irexec
+ config = if xset q | grep "DPMS is Enabled" > /dev/null ; then xset -dpms; else xset dpms force off; fi
+ end
+
+ begin
+ prog = tderadio
+ config = eventmap
+ end
+
+ begin
+ button = TV
+ repeat = 0
+ prog = irexec
+ config = xset -dpms && sleep 1 && tvtime &
+ end
+
+ begin
+ button = TV
+ mode = TV-on
+ flags = quit
+ end
+
+end TV-off
+
+
+
+begin TV-on
+
+
+# The following defines most of the common buttons found on a remote and
+# what commads they would map to inside tvtime.
+
+begin
+ prog = irexec
+ button = SOURCE
+ config = tvtime-command TOGGLE_INPUT
+end
+
+#begin
+# prog = irexec
+# button = DISPLAY
+# config = tvtime-command DISPLAY_INFO
+# repeat = 1
+#end
+
+begin
+ prog = irexec
+ button = FULL_SCREEN
+ config = tvtime-command TOGGLE_FULLSCREEN
+end
+
+#begin
+# prog = irexec
+# button = CC
+# config = tvtime-command TOGGLE_CC
+#end
+
+begin
+ prog = irexec
+ button = MUTE
+ config = tvtime-command TOGGLE_MUTE
+end
+
+# Menu navigation.
+begin
+ prog = irexec
+ button = CH+
+ config = tvtime-command UP
+ repeat = 0
+end
+begin
+ prog = irexec
+ button = CH-
+ config = tvtime-command DOWN
+ repeat = 0
+end
+begin
+ prog = irexec
+ button = VOL+
+ config = tvtime-command RIGHT
+ config = tvtime-command RIGHT
+ repeat = 1
+end
+
+begin
+ prog = irexec
+ button = VOL-
+ config = tvtime-command LEFT
+ config = tvtime-command LEFT
+ repeat = 1
+end
+
+#begin
+# prog = irexec
+# button = RECALL
+# config = tvtime-command CHANNEL_JUMP
+# repeat = 1
+#end
+
+begin
+ prog = irexec
+ button = 1
+ config = tvtime-command CHANNEL_1
+end
+begin
+ prog = irexec
+ button = 2
+ config = tvtime-command CHANNEL_2
+end
+begin
+ prog = irexec
+ button = 3
+ config = tvtime-command CHANNEL_3
+end
+begin
+ prog = irexec
+ button = 4
+ config = tvtime-command CHANNEL_4
+end
+begin
+ prog = irexec
+ button = 5
+ config = tvtime-command CHANNEL_5
+end
+begin
+ prog = irexec
+ button = 6
+ config = tvtime-command CHANNEL_6
+end
+begin
+ prog = irexec
+ button = 7
+ config = tvtime-command CHANNEL_7
+end
+begin
+ prog = irexec
+ button = 8
+ config = tvtime-command CHANNEL_8
+end
+begin
+ prog = irexec
+ button = 9
+ config = tvtime-command CHANNEL_9
+end
+begin
+ prog = irexec
+ button = 0
+ config = tvtime-command CHANNEL_0
+end
+
+#begin
+# prog = irexec
+# button = ENTER
+# config = tvtime-command ENTER
+#end
+
+
+ begin
+ prog = irexec
+ button = RESERVED
+ config = tvtime-command QUIT
+ end
+
+ begin
+ prog = irexec
+ button = MINIMIZE
+ config = tvtime-command QUIT
+ end
+
+ begin
+ prog = irexec
+ button = RADIO
+ config = tvtime-command QUIT
+ end
+
+ begin
+ prog = irexec
+ button = TV
+ config = tvtime-command QUIT
+ end
+
+ begin
+ button = RESERVED
+ mode = TV-off
+ flags = quit
+ end
+
+ begin
+ button = TV
+ mode = TV-off
+ flags = quit
+ end
+
+
+ begin
+ button = MINIMIZE
+ mode = TV-off
+ flags = quit
+ end
+
+
+ begin
+ button = RADIO
+ mode = TV-off
+ flags = quit
+ end
+
+
+end TV-on
+
diff --git a/plugins/lirc/lircsupport.cpp b/plugins/lirc/lircsupport.cpp
index 8fef92f..adb4bb1 100644
--- a/plugins/lirc/lircsupport.cpp
+++ b/plugins/lirc/lircsupport.cpp
@@ -17,9 +17,7 @@
#include "lircsupport.h"
-#ifdef HAVE_LIRC
#include <lirc/lirc_client.h>
-#endif
#include <tqsocketnotifier.h>
#include <tqtimer.h>
@@ -43,9 +41,7 @@
///////////////////////////////////////////////////////////////////////
//// plugin library functions
-//#ifdef HAVE_LIRC
PLUGIN_LIBRARY_FUNCTIONS(LircSupport, "tderadio-lirc", i18n("Linux Infrared Control (LIRC) Support"));
-//#endif
/////////////////////////////////////////////////////////////////////////////
@@ -54,7 +50,6 @@ LircSupport::LircSupport(const TQString &name)
m_TakeRawLIRC(false)
{
-#ifdef HAVE_LIRC
logDebug(i18n("initializing tderadio lirc plugin"));
fprintf (stderr, "%s\n", (const char*)i18n("initializing tderadio lirc plugin").utf8());
char *prg = (char*)"tderadio";
@@ -111,7 +106,6 @@ LircSupport::LircSupport(const TQString &name)
logDebug(i18n("Initializing tderadio lirc plugin successful"));
fprintf (stderr, "%s\n", (const char*)i18n("Initializing tderadio lirc plugin successful").utf8());
}
-#endif
m_kbdTimer = new TQTimer (this);
TQObject::connect (m_kbdTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotKbdTimedOut()));
@@ -122,20 +116,17 @@ LircSupport::LircSupport(const TQString &name)
LircSupport::~LircSupport()
{
-#ifdef HAVE_LIRC
if (m_fd_lirc != -1)
lirc_deinit();
if (m_lircConfig)
lirc_freeconfig(m_lircConfig);
m_fd_lirc = -1;
m_lircConfig = 0;
-#endif
}
void LircSupport::slotLIRC(int /*socket*/ )
{
-#ifdef HAVE_LIRC
if (!m_lircConfig || !m_lirc_notify || m_fd_lirc == -1)
return;
@@ -173,7 +164,6 @@ void LircSupport::slotLIRC(int /*socket*/ )
if (code)
free (code);
-#endif
}
diff --git a/plugins/lirc/lircsupport.h b/plugins/lirc/lircsupport.h
index bd1ad8a..df6b475 100644
--- a/plugins/lirc/lircsupport.h
+++ b/plugins/lirc/lircsupport.h
@@ -141,11 +141,9 @@ signals:
protected:
-#ifdef HAVE_LIRC
TQSocketNotifier *m_lirc_notify;
int m_fd_lirc;
struct lirc_config *m_lircConfig;
-#endif
TQTimer *m_kbdTimer;
int m_addIndex;
diff --git a/plugins/lirc/po/CMakeLists.txt b/plugins/lirc/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/lirc/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/lirc/po/tderadio-lirc/tderadio-lirc.pot b/plugins/lirc/po/tderadio-lirc/tderadio-lirc.pot
index 9dfef8f..e0e1ccb 100644
--- a/plugins/lirc/po/tderadio-lirc/tderadio-lirc.pot
+++ b/plugins/lirc/po/tderadio-lirc/tderadio-lirc.pot
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2020-05-11 04:30+0200\n"
+"POT-Creation-Date: 2022-07-09 17:53+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -129,46 +129,46 @@ msgstr ""
msgid "Double Click on the entries to change the assignments"
msgstr ""
-#: lircsupport.cpp:47
+#: lircsupport.cpp:44
msgid "Linux Infrared Control (LIRC) Support"
msgstr ""
-#: lircsupport.cpp:53 lircsupport.cpp:332
+#: lircsupport.cpp:49 lircsupport.cpp:322
msgid "LIRC Plugin"
msgstr ""
-#: lircsupport.cpp:58 lircsupport.cpp:59
+#: lircsupport.cpp:53 lircsupport.cpp:54
msgid "initializing tderadio lirc plugin"
msgstr ""
-#: lircsupport.cpp:67
+#: lircsupport.cpp:62
msgid ""
"%1 does not exist. File was created with TDERadio's default .lircrc proposal"
msgstr ""
-#: lircsupport.cpp:96
+#: lircsupport.cpp:91
msgid "There is no entry for tderadio in any of your .lircrc files."
msgstr ""
-#: lircsupport.cpp:97
+#: lircsupport.cpp:92
msgid "Please setup your .lircrc files correctly."
msgstr ""
-#: lircsupport.cpp:108 lircsupport.cpp:109
+#: lircsupport.cpp:103 lircsupport.cpp:104
msgid "Initializing tderadio lirc plugin failed"
msgstr ""
-#: lircsupport.cpp:111 lircsupport.cpp:112
+#: lircsupport.cpp:106 lircsupport.cpp:107
msgid "Initializing tderadio lirc plugin successful"
msgstr ""
-#: lircsupport.cpp:169
+#: lircsupport.cpp:160
msgid ""
"Reading from LIRC socket failed. Disabling LIRC Functions till next start of "
"tderadio"
msgstr ""
-#: lircsupport.cpp:331
+#: lircsupport.cpp:321
msgid "LIRC Support"
msgstr ""
diff --git a/plugins/oss-sound/CMakeLists.txt b/plugins/oss-sound/CMakeLists.txt
new file mode 100644
index 0000000..e17a3fd
--- /dev/null
+++ b/plugins/oss-sound/CMakeLists.txt
@@ -0,0 +1,28 @@
+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}
+)
+
+
+##### oss-sound (icons and translations)
+
+add_subdirectory( icons )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### oss-sound (plugin)
+
+tde_add_kpart( liboss-sound AUTOMOC
+ SOURCES oss-sound.cpp oss-sound-configuration-ui.ui oss-sound-configuration.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/oss-sound/icons/CMakeLists.txt b/plugins/oss-sound/icons/CMakeLists.txt
new file mode 100644
index 0000000..63f765b
--- /dev/null
+++ b/plugins/oss-sound/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )
diff --git a/plugins/oss-sound/po/CMakeLists.txt b/plugins/oss-sound/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/oss-sound/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/radio/CMakeLists.txt b/plugins/radio/CMakeLists.txt
new file mode 100644
index 0000000..9877aba
--- /dev/null
+++ b/plugins/radio/CMakeLists.txt
@@ -0,0 +1,28 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/src
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### radio (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### radio (plugin)
+
+tde_add_kpart( libradio AUTOMOC
+ SOURCES radio-configuration.cpp radio-configuration-ui.ui radio.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/radio/po/CMakeLists.txt b/plugins/radio/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/radio/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
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()
diff --git a/plugins/soundserver/CMakeLists.txt b/plugins/soundserver/CMakeLists.txt
new file mode 100644
index 0000000..3880ff0
--- /dev/null
+++ b/plugins/soundserver/CMakeLists.txt
@@ -0,0 +1,27 @@
+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}
+)
+
+
+##### soundserver (translations)
+
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### soundserver (plugin)
+
+tde_add_kpart( libsoundserver AUTOMOC
+ SOURCES soundserver.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/soundserver/po/CMakeLists.txt b/plugins/soundserver/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/soundserver/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/streaming/CMakeLists.txt b/plugins/streaming/CMakeLists.txt
new file mode 100644
index 0000000..d56f58c
--- /dev/null
+++ b/plugins/streaming/CMakeLists.txt
@@ -0,0 +1,31 @@
+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}
+)
+
+
+##### streaming (icons and translations)
+
+add_subdirectory( icons )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### streaming (plugin)
+
+tde_add_kpart( libstreaming AUTOMOC
+ SOURCES
+ streaming.cpp streaming-configuration-ui.ui
+ streaming-configuration.cpp streaming-job.cpp
+
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/streaming/icons/CMakeLists.txt b/plugins/streaming/icons/CMakeLists.txt
new file mode 100644
index 0000000..63f765b
--- /dev/null
+++ b/plugins/streaming/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )
diff --git a/plugins/streaming/po/CMakeLists.txt b/plugins/streaming/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/streaming/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/timecontrol/CMakeLists.txt b/plugins/timecontrol/CMakeLists.txt
new file mode 100644
index 0000000..772612e
--- /dev/null
+++ b/plugins/timecontrol/CMakeLists.txt
@@ -0,0 +1,28 @@
+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}
+)
+
+
+##### timecontrol (icons and translations)
+
+add_subdirectory( icons )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### timecontrol (plugin)
+
+tde_add_kpart( libtimecontrol AUTOMOC
+ SOURCES timecontrol-configuration.cpp timecontrol-configuration-ui.ui timecontrol.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/timecontrol/icons/CMakeLists.txt b/plugins/timecontrol/icons/CMakeLists.txt
new file mode 100644
index 0000000..63f765b
--- /dev/null
+++ b/plugins/timecontrol/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )
diff --git a/plugins/timecontrol/po/CMakeLists.txt b/plugins/timecontrol/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/timecontrol/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
diff --git a/plugins/timeshifter/CMakeLists.txt b/plugins/timeshifter/CMakeLists.txt
new file mode 100644
index 0000000..d0c2e81
--- /dev/null
+++ b/plugins/timeshifter/CMakeLists.txt
@@ -0,0 +1,28 @@
+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}
+)
+
+
+##### timeshifter (icons and translations)
+
+add_subdirectory( icons )
+tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
+
+
+##### timeshifter (plugin)
+
+tde_add_kpart( libtimeshifter AUTOMOC
+ SOURCES timeshifter.cpp timeshifter-configuration-ui.ui timeshifter-configuration.cpp
+ LINK tderadio-shared
+ DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}/plugins
+)
diff --git a/plugins/timeshifter/icons/CMakeLists.txt b/plugins/timeshifter/icons/CMakeLists.txt
new file mode 100644
index 0000000..63f765b
--- /dev/null
+++ b/plugins/timeshifter/icons/CMakeLists.txt
@@ -0,0 +1 @@
+tde_install_icons( )
diff --git a/plugins/timeshifter/po/CMakeLists.txt b/plugins/timeshifter/po/CMakeLists.txt
new file mode 100644
index 0000000..24e3bd8
--- /dev/null
+++ b/plugins/timeshifter/po/CMakeLists.txt
@@ -0,0 +1 @@
+tde_add_project_translations()
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();
}
////////////////////////////////////////