Commit 33244006 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Port KWin scripts KCM to new install location

Task: https://phabricator.kde.org/T14517
parent 719e9719
Pipeline #167834 passed with stage
in 22 minutes and 2 seconds
# KI18N Translation Domain for this library
add_definitions(-DTRANSLATION_DOMAIN=\"kcm-kwin-scripts\")
include_directories(${CMAKE_CURRENT_BINARY_DIR})
kcoreaddons_add_plugin(kcm_kwin_scripts INSTALL_NAMESPACE plasma/kcms/systemsettings)
set(kcm_SRCS
target_sources(kcm_kwin_scripts PRIVATE
module.cpp
kwinscriptsdata.cpp
)
add_library(kcm_kwin_scripts MODULE ${kcm_SRCS})
kcoreaddons_desktop_to_json(kcm_kwin_scripts kwinscripts.desktop)
target_link_libraries(kcm_kwin_scripts
Qt::DBus
......@@ -24,6 +21,5 @@ target_link_libraries(kcm_kwin_scripts
)
kpackage_install_package(package kcm_kwin_scripts kcms)
install(TARGETS kcm_kwin_scripts DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
install(FILES kwinscripts.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR})
install(FILES kwinscripts.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES kwinscripts.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment