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

« back to all changes in this revision

Viewing changes to extra/libkdcraw/libkdcraw/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:
22
22
#
23
23
# ============================================================
24
24
 
 
25
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../libraw)
 
26
 
25
27
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h)
26
28
 
27
29
SET(kdcraw_LIB_SRCS kdcraw.cpp
32
34
                    rcombobox.cpp
33
35
                    rnuminput.cpp
34
36
                    rexpanderbox.cpp
 
37
                    ractionthreadbase.cpp
 
38
                    ractionthreadbase_p.cpp
35
39
                    squeezedcombobox.cpp
36
40
   )
37
41
 
41
45
                      libraw
42
46
                      ${KDE4_KDEUI_LIBS}
43
47
                      ${KDE4_KIO_LIBS}
 
48
                      ${KDE4_SOLID_LIBS}
 
49
                      ${KDE4_THREADWEAVER_LIBRARIES}
44
50
                     )
45
51
 
46
52
SET_TARGET_PROPERTIES(kdcraw PROPERTIES VERSION ${DCRAW_LIB_SO_VERSION_STRING} SOVERSION ${DCRAW_LIB_SO_CUR_VERSION}
48
54
 
49
55
INSTALL(TARGETS kdcraw ${INSTALL_TARGETS_DEFAULT_ARGS})
50
56
 
51
 
INSTALL(FILES rawdecodingsettings.h
52
 
              kdcraw.h
53
 
              dcrawsettingswidget.h
54
 
              rnuminput.h
55
 
              rcombobox.h
56
 
              rexpanderbox.h
57
 
              squeezedcombobox.h
58
 
              dcrawinfocontainer.h
59
 
              rawfiles.h
60
 
              libkdcraw_export.h
61
 
              ${CMAKE_CURRENT_BINARY_DIR}/version.h
62
 
        DESTINATION ${INCLUDE_INSTALL_DIR}/libkdcraw COMPONENT Devel)
 
57
# Check if compilation is done through digiKam SC or not. If yes, do not install header files.
 
58
IF(NOT DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS)
 
59
    INSTALL(FILES rawdecodingsettings.h
 
60
                  kdcraw.h
 
61
                  dcrawsettingswidget.h
 
62
                  rnuminput.h
 
63
                  rcombobox.h
 
64
                  rexpanderbox.h
 
65
                  ractionthreadbase.h
 
66
                  squeezedcombobox.h
 
67
                  dcrawinfocontainer.h
 
68
                  rawfiles.h
 
69
                  libkdcraw_export.h
 
70
                  ${CMAKE_CURRENT_BINARY_DIR}/version.h
 
71
            DESTINATION ${INCLUDE_INSTALL_DIR}/libkdcraw COMPONENT Devel)
 
72
ENDIF()