Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_plymouth\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_plymouth\") | ||
3 | 3 | | |||
4 | SET(PLYMOUTH_THEMES_DIR "/usr/share/plymouth/themes/" CACHE STRING "Where Plymouth themes are installed") | 4 | SET(PLYMOUTH_THEMES_DIR "/usr/share/plymouth/themes/" CACHE STRING "Where Plymouth themes are installed") | ||
5 | SET(PLYMOUTH_CONFIG_PATH "/etc/plymouth/plymouthd.conf" CACHE STRING "where the main plymouth config file is") | 5 | SET(PLYMOUTH_CONFIG_PATH "/etc/plymouth/plymouthd.conf" CACHE STRING "where the main plymouth config file is") | ||
6 | set(PLYMOUNT_KCM_VERSION ${PROJECT_VERSION}) | 6 | set(PLYMOUNT_KCM_VERSION ${PROJECT_VERSION}) | ||
7 | configure_file (config-kcm.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kcm.h ) | 7 | configure_file (config-kcm.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kcm.h ) | ||
8 | 8 | | |||
9 | set(kcm_plymouth_SRCS | 9 | set(kcm_plymouth_SRCS | ||
10 | kcm.cpp | 10 | kcm.cpp | ||
11 | ) | 11 | ) | ||
12 | 12 | | |||
13 | add_library(kcm_plymouth MODULE ${kcm_plymouth_SRCS}) | 13 | add_library(kcm_plymouth MODULE ${kcm_plymouth_SRCS}) | ||
14 | 14 | | |||
15 | target_link_libraries(kcm_plymouth | 15 | target_link_libraries(kcm_plymouth | ||
16 | KF5::CoreAddons | 16 | KF5::CoreAddons | ||
17 | KF5::Auth | 17 | KF5::AuthCore | ||
18 | KF5::I18n | 18 | KF5::I18n | ||
19 | KF5::Declarative | 19 | KF5::Declarative | ||
20 | KF5::QuickAddons | 20 | KF5::QuickAddons | ||
21 | KF5::NewStuff | 21 | KF5::NewStuff | ||
22 | KF5::NewStuffCore | 22 | KF5::NewStuffCore | ||
23 | KF5::ConfigCore | 23 | KF5::ConfigCore | ||
24 | KF5::KIOCore | 24 | KF5::KIOCore | ||
25 | 25 | | |||
Show All 12 Lines | |||||
38 | 38 | | |||
39 | #installer tool for knewstuff | 39 | #installer tool for knewstuff | ||
40 | add_executable(kplymouththemeinstaller | 40 | add_executable(kplymouththemeinstaller | ||
41 | kplymouththemeinstaller.cpp | 41 | kplymouththemeinstaller.cpp | ||
42 | ) | 42 | ) | ||
43 | 43 | | |||
44 | target_link_libraries(kplymouththemeinstaller | 44 | target_link_libraries(kplymouththemeinstaller | ||
45 | KF5::I18n | 45 | KF5::I18n | ||
46 | KF5::Auth | 46 | KF5::AuthCore | ||
47 | KF5::CoreAddons | 47 | KF5::CoreAddons | ||
48 | KF5::Archive | 48 | KF5::Archive | ||
49 | KF5::ConfigCore) | 49 | KF5::ConfigCore) | ||
50 | install(TARGETS kplymouththemeinstaller ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 50 | install(TARGETS kplymouththemeinstaller ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
51 | 51 | | |||
52 | #polkit stuff | 52 | #polkit stuff | ||
53 | add_executable(plymouthhelper helper.cpp ${helper_mocs}) | 53 | add_executable(plymouthhelper helper.cpp ${helper_mocs}) | ||
54 | target_link_libraries(plymouthhelper | 54 | target_link_libraries(plymouthhelper | ||
55 | KF5::Archive | 55 | KF5::Archive | ||
56 | KF5::Auth | 56 | KF5::AuthCore | ||
57 | KF5::ConfigCore | 57 | KF5::ConfigCore | ||
58 | KF5::I18n) | 58 | KF5::I18n) | ||
59 | install(TARGETS plymouthhelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR}) | 59 | install(TARGETS plymouthhelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR}) | ||
60 | kauth_install_helper_files(plymouthhelper org.kde.kcontrol.kcmplymouth root) | 60 | kauth_install_helper_files(plymouthhelper org.kde.kcontrol.kcmplymouth root) | ||
61 | kauth_install_actions(org.kde.kcontrol.kcmplymouth kcmplymouth_actions.actions) | 61 | kauth_install_actions(org.kde.kcontrol.kcmplymouth kcmplymouth_actions.actions) |