~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Felix Geyer, Rohan Garg, Philip Muškovac, Felix Geyer
  • Date: 2011-09-23 18:18:55 UTC
  • mfrom: (1.2.36 upstream)
  • Revision ID: package-import@ubuntu.com-20110923181855-ifs67wxkugshev9k
Tags: 2:2.1.1-0ubuntu1
[ Rohan Garg ]
* New upstream release (LP: #834190)
  - debian/control
    + Build with libqtwebkit-dev
 - debian/kipi-plugins-common
    + Install libkvkontakte required by kipi-plugins
 - debian/digikam
    + Install panoramagui

[ Philip Muškovac ]
* New upstream release
  - debian/control:
    + Add libcv-dev, libcvaux-dev, libhighgui-dev, libboost-graph1.46-dev,
      libksane-dev, libxml2-dev, libxslt-dev, libqt4-opengl-dev, libqjson-dev,
      libgpod-dev and libqca2-dev to build-deps
    + Add packages for kipi-plugins, libmediawiki, libkface, libkgeomap and
      libkvkontakte
  - debian/rules:
    + Don't build with gphoto2 since it doesn't build with it.
  - Add kubuntu_fix_test_linking.diff to fix linking of the dngconverter test
  - update install files
  - update kubuntu_01_mysqld_executable_name.diff for new cmake layout
    and rename to kubuntu_mysqld_executable_name.diff
* Fix typo in digikam-data description (LP: #804894)
* Fix Vcs links

[ Felix Geyer ]
* Move library data files to the new packages libkface-data, libkgeomap-data
  and libkvkontakte-data.
* Override version of the embedded library packages to 1.0~digikam<version>.
* Exclude the library packages from digikam-dbg to prevent file conflicts in
  the future.
* Call dh_install with --list-missing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(libkvkontakte_SRCS
 
2
    authenticationdialog.cpp
 
3
    userinfojob.cpp
 
4
    userinfo.cpp
 
5
    friendlistjob.cpp
 
6
    photojob.cpp
 
7
    noteslistjob.cpp
 
8
    allnoteslistjob.cpp
 
9
    notejob.cpp
 
10
    getvariablejob.cpp
 
11
    userinfofulljob.cpp
 
12
    cidsnamesjob.cpp
 
13
    getinfojob.cpp
 
14
    messageinfo.cpp
 
15
    discussionslistjob.cpp
 
16
    messageslistjob.cpp
 
17
    noteinfo.cpp
 
18
    noteaddjob.cpp
 
19
    allmessageslistjob.cpp
 
20
    albumlistjob.cpp
 
21
    albuminfo.cpp
 
22
    createalbumjob.cpp
 
23
    editalbumjob.cpp
 
24
    deletealbumjob.cpp
 
25
    getphotouploadserverjob.cpp
 
26
    photopostjob.cpp
 
27
    mpform.cpp
 
28
    savephotojob.cpp
 
29
    uploadphotosjob.cpp
 
30
    photoinfo.cpp
 
31
    photolistjob.cpp
 
32
    getapplicationpermissionsjob.cpp
 
33
    getuploadserverjobbase.cpp
 
34
    getprofilephotouploadserverjob.cpp
 
35
    getwallphotouploadserverjob.cpp
 
36
 
 
37
    qintlist.cpp
 
38
    util.cpp
 
39
    vkontaktejobs.cpp  
 
40
)
 
41
 
 
42
kde4_add_library(kvkontakte SHARED ${libkvkontakte_SRCS})
 
43
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h)
 
44
 
 
45
# Yes, QJSON_LIBRARIES and QJSON_LIBRARY are both needed, as otherwise it will break either
 
46
# on Linux or on Mac.
 
47
target_link_libraries(kvkontakte
 
48
  ${KDE4_KDECORE_LIBS}
 
49
  ${KDE4_KDEUI_LIBS}
 
50
  ${QT_QTGUI_LIBRARY}
 
51
  ${QT_QTWEBKIT_LIBRARY}
 
52
  ${KDE4_KDEWEBKIT_LIBS}
 
53
  ${KDE4_KIO_LIBS}
 
54
  ${QJSON_LIBRARIES}
 
55
  ${QJSON_LIBRARY}
 
56
  ${KDEPIMLIBS_KABC_LIBS}
 
57
  ${KDEPIMLIBS_KPIMUTILS_LIBS}
 
58
  ${KDEPIMLIBS_KMIME_LIBS}
 
59
)
 
60
 
 
61
set_target_properties(kvkontakte
 
62
        PROPERTIES
 
63
        VERSION ${LIBKVKONTAKTE_VERSION}
 
64
        SOVERSION ${LIBKVKONTAKTE_VERSION_MAJOR})
 
65
 
 
66
install(TARGETS kvkontakte
 
67
        EXPORT LibKVkontakteExport
 
68
        LIBRARY DESTINATION ${LIB_INSTALL_DIR}
 
69
        ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
 
70
        RUNTIME DESTINATION ${BIN_INSTALL_DIR} )
 
71
 
 
72
install(FILES
 
73
    ${CMAKE_CURRENT_BINARY_DIR}/version.h
 
74
    libkvkontakte_export.h
 
75
    albuminfo.h
 
76
    getapplicationpermissionsjob.h
 
77
    vkontaktejobs.h
 
78
    authenticationdialog.h
 
79
    albumlistjob.h
 
80
    qintlist.h
 
81
    createalbumjob.h
 
82
    editalbumjob.h
 
83
    uploadphotosjob.h
 
84
    photoinfo.h
 
85
    userinfo.h
 
86
    messageinfo.h
 
87
    noteinfo.h
 
88
    friendlistjob.h
 
89
    allnoteslistjob.h
 
90
    userinfofulljob.h
 
91
    userinfojob.h
 
92
    photojob.h
 
93
    noteslistjob.h
 
94
    notejob.h
 
95
    noteaddjob.h
 
96
    allmessageslistjob.h
 
97
    messageslistjob.h
 
98
    discussionslistjob.h
 
99
    getvariablejob.h
 
100
    deletealbumjob.h
 
101
    cidsnamesjob.h
 
102
    getinfojob.h
 
103
    photolistjob.h
 
104
    DESTINATION ${INCLUDE_INSTALL_DIR}/libkvkontakte COMPONENT Devel)