~ubuntu-branches/ubuntu/trusty/digikam/trusty

« back to all changes in this revision

Viewing changes to extra/libkipi/libkipi/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-11-26 18:24:20 UTC
  • mfrom: (1.9.1) (3.1.23 experimental)
  • Revision ID: package-import@ubuntu.com-20121126182420-qoy6z0nx4ai0wzcl
Tags: 4:3.0.0~beta3-0ubuntu1
* New upstream release
  - Add build-deps :  libhupnp-dev, libqtgstreamer-dev, libmagickcore-dev
* Merge from debian, remaining changes:
  - Make sure libqt4-opengl-dev, libgl1-mesa-dev and libglu1-mesa-dev only
    install on i386,amd64 and powerpc
  - Depend on libtiff-dev instead of libtiff4-dev
  - Drop digikam breaks/replaces kipi-plugins-common since we're past the
    LTS release now
  - digikam to recommend mplayerthumbs | ffmpegthumbs. We currently only
    have latter in the archives, even though former is also supposed to
    be part of kdemultimedia. (LP: #890059)
  - kipi-plugins to recommend www-browser rather than konqueror directly
    since 2.8 no direct usage of konqueror is present in the flickr
    plugin anymore (LP: #1011211)
  - Keep kubuntu_mysqld_executable_name.diff
  - Don't install libkipi translations
  - Keep deps on libcv-dev, libcvaux-dev
  - Keep split packaging of libraries
  - Replace icons from KDE 3 time in debian/xpm.d/*.xpm with the new
    versions (LP: #658047)
* Update debian/not-installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h)
26
26
 
27
 
SET(kipi_LIB_SRCS pluginloader.cpp interface.cpp imagecollection.cpp 
28
 
                  imagecollectionshared.cpp imageinfoshared.cpp plugin.cpp 
29
 
                  imageinfo.cpp uploadwidget.cpp 
30
 
                  imagecollectionselector.cpp exportinterface.cpp)
 
27
SET(kipi_LIB_SRCS pluginloader.cpp
 
28
                  interface.cpp
 
29
                  imagecollection.cpp
 
30
                  imagecollectionshared.cpp
 
31
                  imageinfoshared.cpp
 
32
                  plugin.cpp
 
33
                  imageinfo.cpp
 
34
                  uploadwidget.cpp
 
35
                  configwidget.cpp
 
36
                  configwidget_p.cpp
 
37
                  imagecollectionselector.cpp
 
38
   )
31
39
 
32
40
KDE4_ADD_LIBRARY(kipi SHARED ${kipi_LIB_SRCS})
33
41
 
34
 
TARGET_LINK_LIBRARIES(kipi 
35
 
                      ${KDE4_KPARTS_LIBS} 
36
 
                      ${KDE4_KFILE_LIBS} 
37
 
                      ${QT_QTGUI_LIBRARY} 
 
42
TARGET_LINK_LIBRARIES(kipi
 
43
                      ${KDE4_KPARTS_LIBS}
 
44
                      ${KDE4_KFILE_LIBS}
 
45
                      ${QT_QTGUI_LIBRARY}
38
46
                     )
39
47
 
40
48
SET_TARGET_PROPERTIES(kipi PROPERTIES VERSION ${KIPI_LIB_SO_VERSION_STRING} SOVERSION ${KIPI_LIB_SO_CUR_VERSION})
41
49
 
42
50
INSTALL(TARGETS kipi ${INSTALL_TARGETS_DEFAULT_ARGS} )
43
51
 
44
 
INSTALL(FILES interface.h plugin.h pluginloader.h imageinfo.h imagecollection.h 
45
 
              imageinfoshared.h imagecollectionshared.h uploadwidget.h 
46
 
              imagecollectionselector.h exportinterface.h extension.h
47
 
              ${CMAKE_CURRENT_BINARY_DIR}/version.h libkipi_export.h 
48
 
        DESTINATION ${INCLUDE_INSTALL_DIR}/libkipi COMPONENT Devel)
 
52
# Check if compilation is done through digiKam SC or not. If yes, do not install header files.
 
53
IF(NOT DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS)
 
54
 
 
55
    INSTALL(FILES plugin.h
 
56
                  pluginloader.h
 
57
                  interface.h
 
58
                  imageinfo.h
 
59
                  imagecollection.h
 
60
                  imageinfoshared.h
 
61
                  imagecollectionshared.h
 
62
                  imagecollectionselector.h
 
63
                  uploadwidget.h
 
64
                  configwidget.h
 
65
                  libkipi_export.h
 
66
                  ${CMAKE_CURRENT_BINARY_DIR}/version.h
 
67
            DESTINATION ${INCLUDE_INSTALL_DIR}/libkipi
 
68
            COMPONENT Devel
 
69
           )
 
70
ENDIF()