blob: 340ab7bee4343f4decdba5a85dd084c612e3750f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${TQT_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### autostart file #####
#tde_create_translated_desktop(
# SOURCE polkit-agent-tde.desktop
# DESTINATION ${AUTOSTART_INSTALL_DIR} )
##### kommando (shared)
tde_add_library( kommando SHARED AUTOMOC
SOURCES
menulistviewitem.cpp configuration.cpp menu.cpp
commandobutton.cpp roundbutton.cpp kommandoview.cpp
VERSION 1.0.0
LINK tdecore-shared tdeio-shared
DESTINATION ${LIB_INSTALL_DIR}
)
##### kommandod (kded module)
tde_add_kpart( kded_kommandod AUTOMOC
SOURCES kommandod.cpp kommandod.skel kommando.cpp
LINK tdeinit_kded-shared Xmu kommando-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### kcm_kommando (kpart)
tde_add_kpart( kcm_kommando MODULE AUTOMOC
SOURCES configdialogimpl.cpp configdialog.ui kcmkommando.cpp servicemenu.cpp
LINK
tdeinit_kded-shared tdecore-shared tdeui-shared Xmu kommando-shared
tdeio-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data ################################
#tde_create_translated_desktop(
# SOURCE mediamanager.desktop
# DESTINATION ${SERVICES_INSTALL_DIR}/kded
# PO_DIR tdeioslave-desktops
#)
#
#tde_create_translated_desktop(
# SOURCE mediabackend.desktop
# DESTINATION ${AUTOSTART_INSTALL_DIR}
# PO_DIR tdeioslave-desktops
#)
install(
FILES kommandod.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
)
install(
FILES kommando.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
|