1
- add_definitions (-DTRANSLATION_DOMAIN="breeze_kwin_deco " )
1
+ add_definitions (-DTRANSLATION_DOMAIN="lightly_kwin_deco " )
2
2
3
3
find_package (KF5 REQUIRED COMPONENTS CoreAddons GuiAddons ConfigWidgets WindowSystem I18n IconThemes)
4
4
find_package (Qt5 CONFIG REQUIRED COMPONENTS DBus)
@@ -14,68 +14,68 @@ set_package_properties(XCB PROPERTIES
14
14
15
15
if (UNIX AND NOT APPLE )
16
16
17
- set (BREEZE_HAVE_X11 ${XCB_XCB_FOUND} )
17
+ set (LIGHTLY_HAVE_X11 ${XCB_XCB_FOUND} )
18
18
if (XCB_XCB_FOUND)
19
19
find_package (Qt5 REQUIRED CONFIG COMPONENTS X11Extras)
20
20
endif ()
21
21
22
22
else ()
23
23
24
- set (BREEZE_HAVE_X11 FALSE )
24
+ set (LIGHTLY_HAVE_X11 FALSE )
25
25
26
26
endif ()
27
27
28
28
################# configuration #################
29
- configure_file (config-breeze .h.cmake ${CMAKE_CURRENT_BINARY_DIR} /config-breeze .h )
29
+ configure_file (config-lightly .h.cmake ${CMAKE_CURRENT_BINARY_DIR} /config-lightly .h )
30
30
31
31
################# includes #################
32
- include_directories (${CMAKE_SOURCE_DIR} /libbreezecommon )
33
- include_directories (${CMAKE_BINARY_DIR} /libbreezecommon )
32
+ include_directories (${CMAKE_SOURCE_DIR} /liblightlycommon )
33
+ include_directories (${CMAKE_BINARY_DIR} /liblightlycommon )
34
34
35
35
################# newt target #################
36
36
### plugin classes
37
- set (breezedecoration_SRCS
38
- breezebutton .cpp
39
- breezedecoration .cpp
40
- breezeexceptionlist .cpp
41
- breezesettingsprovider .cpp
42
- breezesizegrip .cpp)
37
+ set (lightlydecoration_SRCS
38
+ lightlybutton .cpp
39
+ lightlydecoration .cpp
40
+ lightlyexceptionlist .cpp
41
+ lightlysettingsprovider .cpp
42
+ lightlysizegrip .cpp)
43
43
44
- kconfig_add_kcfg_files(breezedecoration_SRCS breezesettings .kcfgc)
44
+ kconfig_add_kcfg_files(lightlydecoration_SRCS lightlysettings .kcfgc)
45
45
46
46
### config classes
47
47
### they are kept separately because they might move in a separate library in the future
48
- set (breezedecoration_config_SRCS
49
- config/breezeconfigwidget .cpp
50
- config/breezedetectwidget .cpp
51
- config/breezeexceptiondialog .cpp
52
- config/breezeexceptionlistwidget .cpp
53
- config/breezeexceptionmodel .cpp
54
- config/breezeitemmodel .cpp
48
+ set (lightlydecoration_config_SRCS
49
+ config/lightlyconfigwidget .cpp
50
+ config/lightlydetectwidget .cpp
51
+ config/lightlyexceptiondialog .cpp
52
+ config/lightlyexceptionlistwidget .cpp
53
+ config/lightlyexceptionmodel .cpp
54
+ config/lightlyitemmodel .cpp
55
55
)
56
56
57
- set (breezedecoration_config_PART_FORMS
58
- config/ui/breezeconfigurationui .ui
59
- config/ui/breezedetectwidget .ui
60
- config/ui/breezeexceptiondialog .ui
61
- config/ui/breezeexceptionlistwidget .ui
57
+ set (lightlydecoration_config_PART_FORMS
58
+ config/ui/lightlyconfigurationui .ui
59
+ config/ui/lightlydetectwidget .ui
60
+ config/ui/lightlyexceptiondialog .ui
61
+ config/ui/lightlyexceptionlistwidget .ui
62
62
)
63
63
64
- ki18n_wrap_ui(breezedecoration_config_PART_FORMS_HEADERS ${breezedecoration_config_PART_FORMS } )
64
+ ki18n_wrap_ui(lightlydecoration_config_PART_FORMS_HEADERS ${lightlydecoration_config_PART_FORMS } )
65
65
66
66
### build library
67
- add_library (breezedecoration MODULE
68
- ${breezedecoration_SRCS }
69
- ${breezedecoration_config_SRCS }
70
- ${breezedecoration_config_PART_FORMS_HEADERS } )
67
+ add_library (lightlydecoration MODULE
68
+ ${lightlydecoration_SRCS }
69
+ ${lightlydecoration_config_SRCS }
70
+ ${lightlydecoration_config_PART_FORMS_HEADERS } )
71
71
72
- target_link_libraries (breezedecoration
72
+ target_link_libraries (lightlydecoration
73
73
PUBLIC
74
74
Qt5::Core
75
75
Qt5::Gui
76
76
Qt5::DBus
77
77
PRIVATE
78
- breezecommon5
78
+ lightlycommon5
79
79
KDecoration2::KDecoration
80
80
KF5::ConfigCore
81
81
KF5::CoreAddons
@@ -85,13 +85,13 @@ target_link_libraries(breezedecoration
85
85
KF5::IconThemes
86
86
KF5::WindowSystem)
87
87
88
- if (BREEZE_HAVE_X11 )
89
- target_link_libraries (breezedecoration
88
+ if (LIGHTLY_HAVE_X11 )
89
+ target_link_libraries (lightlydecoration
90
90
PUBLIC
91
91
Qt5::X11Extras
92
92
XCB::XCB)
93
93
endif ()
94
94
95
95
96
- install (TARGETS breezedecoration DESTINATION ${PLUGIN_INSTALL_DIR} /org.kde.kdecoration2)
97
- install (FILES config/breezedecorationconfig .desktop DESTINATION ${SERVICES_INSTALL_DIR} )
96
+ install (TARGETS lightlydecoration DESTINATION ${PLUGIN_INSTALL_DIR} /org.kde.kdecoration2)
97
+ install (FILES config/lightlydecorationconfig .desktop DESTINATION ${SERVICES_INSTALL_DIR} )
0 commit comments