Changeset View
Changeset View
Standalone View
Standalone View
KF5PlasmaMacros.cmake
Show All 24 Lines | 23 | macro(plasma_install_package dir component) | |||
---|---|---|---|---|---|
25 | set(type ${ARGV3}) | 25 | set(type ${ARGV3}) | ||
26 | if(NOT root) | 26 | if(NOT root) | ||
27 | set(root plasmoids) | 27 | set(root plasmoids) | ||
28 | endif() | 28 | endif() | ||
29 | if(NOT type) | 29 | if(NOT type) | ||
30 | set(type applet) | 30 | set(type applet) | ||
31 | endif() | 31 | endif() | ||
32 | 32 | | |||
33 | kpackage_install_package(${dir} ${component} ${root} ${PLASMA_RELATIVE_DATA_INSTALL_DIR}) | 33 | kpackage_install_package(${dir} ${component} ${root} ${PLASMA_RELATIVE_DATA_INSTALL_DIR} NO_DEPRECATED_WARNING) | ||
34 | install(FILES ${dir}/metadata.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} RENAME plasma-${type}-${component}.desktop) | 34 | install(FILES ${dir}/metadata.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} RENAME plasma-${type}-${component}.desktop) | ||
35 | endmacro() | 35 | endmacro() | ||
36 | 36 | | |||
37 | 37 | | |||
38 | # plasma_add_plugin(pluginname sources_SRC) | 38 | # plasma_add_plugin(pluginname sources_SRC) | ||
39 | # | 39 | # | ||
40 | # Use instead of add_library. Replacement for kde4_add_plugin | 40 | # Use instead of add_library. Replacement for kde4_add_plugin | ||
41 | # Basically does add_library and removes the prefix of the library | 41 | # Basically does add_library and removes the prefix of the library | ||
Show All 14 Lines |