summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/mediaplayer/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/sidebar/mediaplayer/CMakeLists.txt')
-rw-r--r--konq-plugins/sidebar/mediaplayer/CMakeLists.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/konq-plugins/sidebar/mediaplayer/CMakeLists.txt b/konq-plugins/sidebar/mediaplayer/CMakeLists.txt
new file mode 100644
index 0000000..e5ad6e3
--- /dev/null
+++ b/konq-plugins/sidebar/mediaplayer/CMakeLists.txt
@@ -0,0 +1,47 @@
+#################################################
+#
+# (C) 2013 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### konqsidebar_mediaplayer (kpart) ###########
+
+tde_add_kpart( konqsidebar_mediaplayer AUTOMOC
+ SOURCES mediawidget_skel.ui engine.cpp player.cpp mediawidget.cpp
+ mediaplayer.cpp controls.cpp
+ LINK artskde-shared konq-shared konqsidebarplugin-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES mediaplayerplugin.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden
+)
+
+install( FILES mplayer_add.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add
+)