1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-12 01:17:55 +03:00

update knsrc installation path

--since kde frameworks >= 57 there is a specified path
for which knsrc files should be present
This commit is contained in:
Michail Vourlakos 2020-03-22 18:39:36 +02:00
parent df635fb88b
commit 100e3d4884
2 changed files with 9 additions and 3 deletions

View File

@ -106,7 +106,13 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.latte-dock.desktop DESTINATION
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.latte-dock.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES dbus/org.kde.LatteDock.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR})
install(FILES lattedock.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
install(FILES latte-layouts.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
install(FILES latte-indicators.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
if(${KF5_VERSION_MINOR} LESS "57")
install(FILES latte-layouts.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
install(FILES latte-indicators.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
else()
install(FILES latte-layouts.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
install(FILES latte-indicators.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
endif()
add_subdirectory(packageplugins)

View File

@ -28,7 +28,7 @@ Name[x-test]=xxLatte Layoutsxx
Name[zh_CN]=Latte 布局
Name[zh_TW]=Latte 版面
ProvidersUrl=https://download.kde.org/ocs/providers.xml
ProvidersUrl=https://autoconfig.kde.org/ocs/providers.xml
Categories=Latte Layouts
TargetDir=latte-layouts
Uncompress=archive