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:
parent
df635fb88b
commit
100e3d4884
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user