diff options
author | Serghei Amelian <serghei.amelian@gmail.com> | 2012-02-12 21:44:42 +0200 |
---|---|---|
committer | Serghei Amelian <serghei.amelian@gmail.com> | 2012-02-12 21:44:42 +0200 |
commit | 7eef82aa49ab12a98683dc7ac40e9bff9a4ffead (patch) | |
tree | 6b1b771a96fae08cb30aada3c68efacdb93b729c /kmix | |
parent | 3da4ad187228cb8bf99a1ba8aacff8fee72af302 (diff) | |
download | tdemultimedia-7eef82aa49ab12a98683dc7ac40e9bff9a4ffead.tar.gz tdemultimedia-7eef82aa49ab12a98683dc7ac40e9bff9a4ffead.zip |
cmake port for kmix
Diffstat (limited to 'kmix')
-rw-r--r-- | kmix/CMakeLists.txt | 75 | ||||
-rw-r--r-- | kmix/pics/CMakeLists.txt | 23 |
2 files changed, 98 insertions, 0 deletions
diff --git a/kmix/CMakeLists.txt b/kmix/CMakeLists.txt new file mode 100644 index 00000000..a8a419f7 --- /dev/null +++ b/kmix/CMakeLists.txt @@ -0,0 +1,75 @@ +################################################# +# +# (C) 2012 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( pics ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kmix.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES kmixui.rc DESTINATION ${DATA_INSTALL_DIR}/kmix ) +install( FILES restore_kmix_volumes.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} ) +install( FILES kmixapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) +install( FILES kmixctrl_restore.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### kmix_panelapplet (module) ################# + +tde_add_kpart( kmix_panelapplet AUTOMOC + SOURCES + kmixapplet.cpp viewbase.cpp viewapplet.cpp mixdevicewidget.cpp + mdwslider.cpp mixer.cpp mixset.cpp mixdevice.cpp + mixer_backend.cpp ksmallslider.cpp volume.cpp kledbutton.cpp + verticaltext.cpp mixerIface.skel colorwidget.ui + dialogviewconfiguration.cpp kmixtoolbox.cpp mixertoolbox.cpp + dialogselectmaster.cpp + LINK tdeui-shared ${ALSA_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kmix (kdeinit) ############################ + +tde_add_tdeinit_executable( kmix AUTOMOC + SOURCES + main.cpp kmix.cpp kmixdockwidget.cpp kmixprefdlg.cpp + viewbase.cpp viewoutput.cpp viewinput.cpp viewswitches.cpp + viewsurround.cpp viewdockareapopup.cpp viewsliders.cpp + viewgrid.cpp mixdevicewidget.cpp mdwslider.cpp + mdwswitch.cpp mdwenum.cpp kmixerwidget.cpp mixer.cpp + mixset.cpp mixdevice.cpp mixer_backend.cpp ksmallslider.cpp + volume.cpp kledbutton.cpp verticaltext.cpp mixerIface.skel + kmixtoolbox.cpp mixertoolbox.cpp dialogviewconfiguration.cpp + KMixApp.cpp dialogselectmaster.cpp + LINK tdeui-shared ${ALSA_LIBRARIES} +) + + +##### kmixctrl (kdeinit) ######################## + +tde_add_tdeinit_executable( kmixctrl AUTOMOC + SOURCES + kmixctrl.cpp mixer.cpp mixset.cpp mixdevice.cpp + volume.cpp mixerIface.skel mixertoolbox.cpp + mixer_backend.cpp + LINK tdecore-shared ${ALSA_LIBRARIES} +) diff --git a/kmix/pics/CMakeLists.txt b/kmix/pics/CMakeLists.txt new file mode 100644 index 00000000..35ea82c5 --- /dev/null +++ b/kmix/pics/CMakeLists.txt @@ -0,0 +1,23 @@ +################################################# +# +# (C) 2012 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( kmix ) + +install( FILES + mix_audio.png mix_bass.png mix_cd.png mix_ext.png + mix_microphone.png mix_midi.png mix_recmon.png + mix_treble.png mix_unknown.png mix_volume.png + mix_surround.png mix_video.png mix_headphone.png + mix_digital.png mix_ac97.png kmixdocked.png + kmixdocked_mute.png kmixdocked_error.png mix_record.png + SpeakerFrontLeft.png SpeakerRearLeft.png SpeakerFrontRight.png + SpeakerRearRight.png Listener.png + DESTINATION ${DATA_INSTALL_DIR}/kmix/pics ) |