summaryrefslogtreecommitdiffstats
path: root/plugins/alsa-sound
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/alsa-sound')
-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
3 files changed, 33 insertions, 0 deletions
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()