Install service files for kwin
This commit is contained in:
parent
d4ec18d844
commit
405841caf2
3 changed files with 20 additions and 1 deletions
|
@ -5,7 +5,7 @@ set(PROJECT_VERSION "5.19.80")
|
|||
set(PROJECT_VERSION_MAJOR 5)
|
||||
|
||||
set(QT_MIN_VERSION "5.14.0")
|
||||
set(KF5_MIN_VERSION "5.70.0")
|
||||
set(KF5_MIN_VERSION "5.73.0")
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
|
||||
|
||||
|
@ -48,6 +48,7 @@ include(KDEClangFormat)
|
|||
|
||||
include(ECMInstallIcons)
|
||||
include(ECMOptionalAddSubdirectory)
|
||||
include(ECMConfiguredInstall)
|
||||
|
||||
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_USE_QSTRINGBUILDER -DQT_NO_URL_CAST_FROM_STRING)
|
||||
|
||||
|
@ -849,3 +850,6 @@ configure_package_config_file(KWinDBusInterfaceConfig.cmake.in
|
|||
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR})
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/KWinDBusInterfaceConfig.cmake
|
||||
DESTINATION ${CMAKECONFIG_INSTALL_DIR})
|
||||
|
||||
ecm_install_configured_files(INPUT plasma-kwin_x11.service.in plasma-kwin_wayland.service.in @ONLY
|
||||
DESTINATION ${SYSTEMD_USER_UNIT_INSTALL_DIR})
|
||||
|
|
7
plasma-kwin_wayland.service.in
Normal file
7
plasma-kwin_wayland.service.in
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=KDE Window Manager
|
||||
|
||||
[Service]
|
||||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kwin_wayland
|
||||
BusName=org.kde.KWin
|
||||
Slice=session.slice
|
8
plasma-kwin_x11.service.in
Normal file
8
plasma-kwin_x11.service.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=KDE Window Manager
|
||||
Wants=plasma-kcminit.service
|
||||
|
||||
[Service]
|
||||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/kwin_x11 --replace
|
||||
BusName=org.kde.KWin
|
||||
Slice=session.slice
|
Loading…
Reference in a new issue