~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to kde/plasma/plasmoid/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-19 21:46:37 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120519214637-la8rbrford5kj6m3
Tags: 1.1.0-1
* New upstream release 
  - Fixes "FTBFS with libccrtp-dev/2.0.2 from experimental" (Closes: #663282)
* NEW Maintainer: Debian VoIP Team - Thanks Francois for your work.
  - (Closes: #665789: O: sflphone -- SIP and IAX2 compatible VoIP phone)
* Added Build-Depends: libdbus-c++-bin
* Add gcc47-fixes.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Project Needs a name ofcourse
2
 
project(sflphone-plasmoid)
3
 
 
4
 
# Find the required Libaries
5
 
find_package(KDE4 REQUIRED)
6
 
include(KDE4Defaults)
7
 
 
8
 
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
9
 
include_directories(
10
 
   ${CMAKE_SOURCE_DIR}
11
 
   ${CMAKE_BINARY_DIR}
12
 
   ${KDE4_INCLUDES}
13
 
   )
14
 
 
15
 
# We add our source code here
16
 
set(tutorial1_SRCS
17
 
   SFLPhonePlasmoid.cpp
18
 
   CallItem.cpp
19
 
   ConferenceItem.cpp
20
 
   DialPage.cpp
21
 
   ViewItem.h
22
 
   MainWidget.cpp)
23
 
 
24
 
install( FILES
25
 
   ../../src/icons/refuse.svg
26
 
   ../../src/icons/ring.svg
27
 
   ../../src/icons/incoming.svg
28
 
   ../../src/icons/outgoing.svg
29
 
   ../../src/icons/missed.svg
30
 
   ../../src/icons/dial.svg
31
 
   ../../src/icons/current.svg
32
 
   ../../src/icons/busy.svg
33
 
   ../../src/icons/hold.svg
34
 
   ../../src/icons/fail.svg
35
 
   ../../src/icons/transfert.svg
36
 
   ../../src/icons/hang_up.svg
37
 
   ../../src/icons/call.svg
38
 
   ../../src/icons/sflphone.svg
39
 
   ../../src/icons/sflphone_notif.svg
40
 
DESTINATION ${DATA_INSTALL_DIR}/sflphone-plasmoid/icons/ )
41
 
 
42
 
# Now make sure all files get to the right place
43
 
kde4_add_plugin(plasma_applet_sflphone ${tutorial1_SRCS})
44
 
target_link_libraries(plasma_applet_sflphone
45
 
                      qtsflphone
46
 
                      ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
47
 
 
48
 
install(TARGETS plasma_applet_sflphone
49
 
        DESTINATION ${PLUGIN_INSTALL_DIR})
50
 
 
51
 
install(FILES plasma-applet-sflphone.desktop
52
 
        DESTINATION ${SERVICES_INSTALL_DIR})
53
 
 
54
 
#set(sflphone-plasmoid_SRCS
55
 
#    SFLPhonePlasmoid.cpp)
56
 
#
57
 
#kde4_add_plugin(plasma_applet_sflphone ${sflphone-plasmoid_SRCS})
58
 
#target_link_libraries(plasma_applet_sflphone ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS})
59
 
#
60
 
#install(TARGETS plasma_applet_sflphone DESTINATION ${PLUGIN_INSTALL_DIR})
61
 
#install(FILES plasma-applet-sflphone.desktop DESTINATION ${SERVICES_INSTALL_DIR})