diff options
Diffstat (limited to 'kamera')
-rw-r--r-- | kamera/CMakeLists.txt | 16 | ||||
-rw-r--r-- | kamera/ConfigureChecks.cmake | 15 | ||||
-rw-r--r-- | kamera/kcontrol/CMakeLists.txt | 36 | ||||
-rw-r--r-- | kamera/kioslave/CMakeLists.txt | 32 | ||||
-rw-r--r-- | kamera/pics/CMakeLists.txt | 13 |
5 files changed, 112 insertions, 0 deletions
diff --git a/kamera/CMakeLists.txt b/kamera/CMakeLists.txt new file mode 100644 index 00000000..700fe6a9 --- /dev/null +++ b/kamera/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Calvin Morrison +# mutantturkey@gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include( ConfigureChecks.cmake ) + +add_subdirectory( kioslave ) +add_subdirectory( kcontrol ) +add_subdirectory( pics ) diff --git a/kamera/ConfigureChecks.cmake b/kamera/ConfigureChecks.cmake new file mode 100644 index 00000000..359f9a00 --- /dev/null +++ b/kamera/ConfigureChecks.cmake @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +pkg_search_module( GPHOTO2 libgphoto2 ) +if( NOT GPHOTO2_FOUND ) + tde_message_fatal( "libgphoto2 is required, but was not found on your system" ) +endif( ) diff --git a/kamera/kcontrol/CMakeLists.txt b/kamera/kcontrol/CMakeLists.txt new file mode 100644 index 00000000..c4a395ab --- /dev/null +++ b/kamera/kcontrol/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (C) 2010-2011 Calvin Morrison +# mutantturkey@gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${GPHOTO2_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +#### other data ################################# + +install( FILES kamera.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + + +#### kamera (module) ############################ + +tde_add_kpart( kcm_kamera SHARED AUTOMOC + SOURCES kamera.cpp kameradevice.cpp kameraconfigdialog.cpp + LINK kio-shared ${GPHOTO2_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kamera/kioslave/CMakeLists.txt b/kamera/kioslave/CMakeLists.txt new file mode 100644 index 00000000..65bbbf75 --- /dev/null +++ b/kamera/kioslave/CMakeLists.txt @@ -0,0 +1,32 @@ +################################################# +# +# (C) 2010-2011 Calvin Morrison +# mutantturkey@gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${GPHOTO2_INCLUDE_DIRS} +) + + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +#### kamera (module) ############################ + +tde_add_kpart( kio_kamera AUTOMOC + SOURCES kamera.cpp + LINK kio-shared ${GPHOTO2_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kamera/pics/CMakeLists.txt b/kamera/pics/CMakeLists.txt new file mode 100644 index 00000000..b42c7419 --- /dev/null +++ b/kamera/pics/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010-2011 Calvin Morrison +# mutantturkey@gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( camera ) +tde_install_icons( camera_test ) |