1
# Project Needs a name ofcourse
2
project(sflphone-plasmoid)
4
# Find the required Libaries
5
find_package(KDE4 REQUIRED)
8
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
15
# We add our source code here
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/ )
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
46
${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
48
install(TARGETS plasma_applet_sflphone
49
DESTINATION ${PLUGIN_INSTALL_DIR})
51
install(FILES plasma-applet-sflphone.desktop
52
DESTINATION ${SERVICES_INSTALL_DIR})
54
#set(sflphone-plasmoid_SRCS
55
# SFLPhonePlasmoid.cpp)
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})
60
#install(TARGETS plasma_applet_sflphone DESTINATION ${PLUGIN_INSTALL_DIR})
61
#install(FILES plasma-applet-sflphone.desktop DESTINATION ${SERVICES_INSTALL_DIR})