summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/mediaplayer
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2013-10-15 16:26:13 +0200
committerSlávek Banko <[email protected]>2013-10-15 16:26:13 +0200
commit1a22301f46db807500b77119ae0132b9a3f876c5 (patch)
treeebf70d60bf7341685d1c4f6eb945e8d36baab9b2 /konq-plugins/sidebar/mediaplayer
parent6d9f2a4901eda474254a5d62a8c3701c2067ea58 (diff)
downloadtdeaddons-1a22301f46db807500b77119ae0132b9a3f876c5.tar.gz
tdeaddons-1a22301f46db807500b77119ae0132b9a3f876c5.zip
Initial cmake conversion
Diffstat (limited to 'konq-plugins/sidebar/mediaplayer')
-rw-r--r--konq-plugins/sidebar/mediaplayer/CMakeLists.txt47
-rw-r--r--konq-plugins/sidebar/mediaplayer/pics/CMakeLists.txt3
2 files changed, 50 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
+)
diff --git a/konq-plugins/sidebar/mediaplayer/pics/CMakeLists.txt b/konq-plugins/sidebar/mediaplayer/pics/CMakeLists.txt
new file mode 100644
index 0000000..562ec30
--- /dev/null
+++ b/konq-plugins/sidebar/mediaplayer/pics/CMakeLists.txt
@@ -0,0 +1,3 @@
+# This file is genereted by triniy-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( )