Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
PowerDevil
Commits
cb325590
Commit
cb325590
authored
Apr 22, 2022
by
Volker Krause
Browse files
Use version-less install dir variables
parent
1d9794a3
Pipeline
#167351
passed with stage
in 2 minutes and 11 seconds
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
cb325590
...
...
@@ -101,7 +101,7 @@ ecm_qt_install_logging_categories(
FILE powerdevil.categories
DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
install
(
FILES powerdevil.notifyrc DESTINATION
${
KDE_INSTALL_KNOTIFY
5
RCDIR
}
)
install
(
FILES powerdevil.notifyrc DESTINATION
${
KDE_INSTALL_KNOTIFYRCDIR
}
)
# add clang-format target for all our real source files
file
(
GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h
)
...
...
daemon/actions/CMakeLists.txt
View file @
cb325590
install
(
FILES powerdevilaction.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPES
5
DIR
}
)
install
(
FILES powerdevilaction.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPESDIR
}
)
add_subdirectory
(
bundled
)
daemon/actions/bundled/CMakeLists.txt
View file @
cb325590
...
...
@@ -12,7 +12,7 @@ function(add_powerdevil_bundled_action _name)
KF5::XmlGui
${
ARGN
}
)
install
(
TARGETS powerdevil
${
_name
}
action_config DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES powerdevil
${
_name
}
action.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES powerdevil
${
_name
}
action.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
endfunction
(
add_powerdevil_bundled_action _name
)
add_powerdevil_bundled_action
(
brightnesscontrol KF5::GlobalAccel
)
...
...
@@ -42,4 +42,4 @@ target_link_libraries(powerdevilhandlebuttoneventsaction_config
KF5::XmlGui
)
install
(
TARGETS powerdevilhandlebuttoneventsaction_config DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES powerdevilhandlebuttoneventsaction.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES powerdevilhandlebuttoneventsaction.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
kcmodule/activities/CMakeLists.txt
View file @
cb325590
...
...
@@ -20,4 +20,4 @@ target_link_libraries(kcm_powerdevilactivitiesconfig
)
install
(
TARGETS kcm_powerdevilactivitiesconfig DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES powerdevilactivitiesconfig.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES powerdevilactivitiesconfig.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
kcmodule/global/CMakeLists.txt
View file @
cb325590
...
...
@@ -20,4 +20,4 @@ target_link_libraries(kcm_powerdevilglobalconfig
)
install
(
TARGETS kcm_powerdevilglobalconfig DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES powerdevilglobalconfig.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES powerdevilglobalconfig.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
kcmodule/profiles/CMakeLists.txt
View file @
cb325590
...
...
@@ -23,4 +23,4 @@ target_link_libraries(kcm_powerdevilprofilesconfig
)
install
(
TARGETS kcm_powerdevilprofilesconfig DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES powerdevilprofilesconfig.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES powerdevilprofilesconfig.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment