Commit 67f0c43a authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Port to the new install directory for knsrc files

Summary: See https://phabricator.kde.org/D19338

Reviewers: #plasma, #knewstuff, leinir

Reviewed By: #knewstuff, leinir

Subscribers: leinir, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19842
parent 2861ae7c
......@@ -34,7 +34,7 @@ kcoreaddons_desktop_to_json(kcm_colors "kcm_colors.desktop")
install(FILES kcm_colors.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS kcm_colors DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
install(FILES colorschemes.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES colorschemes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
kpackage_install_package(package kcm_colors kcms)
......
......@@ -57,7 +57,7 @@ kcoreaddons_desktop_to_json(kcm_cursortheme "kcm_cursortheme.desktop")
########### install files ###############
install( FILES kcm_cursortheme.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( FILES xcursor/xcursor.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES xcursor/xcursor.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
kpackage_install_package(package kcm_cursortheme kcms)
......@@ -23,7 +23,7 @@ kcoreaddons_desktop_to_json(kcm_desktoptheme "kcm_desktoptheme.desktop" SERVICE_
#this desktop file is installed only for retrocompatibility with sycoca
install(FILES kcm_desktoptheme.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES plasma-themes.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES plasma-themes.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
install(TARGETS kcm_desktoptheme DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
kpackage_install_package(package kcm_desktoptheme kcms)
......@@ -14,4 +14,4 @@ install(TARGETS kcm_emoticons DESTINATION ${KDE_INSTALL_PLUGINDIR} )
########### install files ###############
install( FILES emoticons.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( FILES emoticons.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES emoticons.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
......@@ -28,7 +28,7 @@ install(FILES kcm_icons.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS kcm_icons DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/icons.knsrc ${CMAKE_BINARY_DIR}/icons.knsrc)
install( FILES ${CMAKE_BINARY_DIR}/icons.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES ${CMAKE_BINARY_DIR}/icons.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
install(TARGETS plasma-changeicons DESTINATION ${KDE_INSTALL_LIBEXECDIR} )
......
......@@ -20,7 +20,7 @@ target_link_libraries(kcm_fontinst
install(TARGETS kcm_fontinst DESTINATION ${KDE_INSTALL_PLUGINDIR} )
install( FILES fontinst.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( FILES kfontinst.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES kfontinst.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
ecm_install_icons( ICONS
16-actions-addfont.png
......
......@@ -26,6 +26,6 @@ kcoreaddons_desktop_to_json(kcm_splashscreen "kcm_splashscreen.desktop" SERVICE_
#this desktop file is installed only for retrocompatibility with sycoca
install(FILES kcm_splashscreen.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS kcm_splashscreen DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
install( FILES ksplash.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES ksplash.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
kpackage_install_package(package kcm_splashscreen kcms)
......@@ -50,7 +50,7 @@ kcoreaddons_desktop_to_json(kcm_lookandfeel "kcm_lookandfeel.desktop" SERVICE_TY
#this desktop file is installed only for retrocompatibility with sycoca
install(FILES kcm_lookandfeel.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS kcm_lookandfeel DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
install(FILES lookandfeel.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES lookandfeel.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
if(BUILD_TESTING)
find_package(Qt5Test ${QT_MIN_VERSION} CONFIG REQUIRED)
......
Markdown is supported
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