Use undeprecated install dirs
Using kde-dev-scripts/kf5/cmakelists_install_vars.pl
This commit is contained in:
parent
e48a0b5f66
commit
f7f3c01ec8
18 changed files with 28 additions and 28 deletions
|
@ -24,5 +24,5 @@ add_executable(kdeconnect-app
|
||||||
)
|
)
|
||||||
target_link_libraries(kdeconnect-app Qt5::Quick Qt5::QuickControls2 Qt5::Widgets KF5::CoreAddons KF5::I18n KF5::KCMUtils)
|
target_link_libraries(kdeconnect-app Qt5::Quick Qt5::QuickControls2 Qt5::Widgets KF5::CoreAddons KF5::I18n KF5::KCMUtils)
|
||||||
|
|
||||||
install(TARGETS kdeconnect-app ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS kdeconnect-app ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
install(PROGRAMS org.kde.kdeconnect.app.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|
install(PROGRAMS org.kde.kdeconnect.app.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
||||||
|
|
|
@ -11,5 +11,5 @@ target_link_libraries(kdeconnect-cli
|
||||||
KF5::I18n
|
KF5::I18n
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kdeconnect-cli ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS kdeconnect-cli ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
install(FILES kdeconnect.zsh RENAME _kdeconnect DESTINATION ${ZSH_AUTOCOMPLETE_DIR})
|
install(FILES kdeconnect.zsh RENAME _kdeconnect DESTINATION ${ZSH_AUTOCOMPLETE_DIR})
|
||||||
|
|
|
@ -85,4 +85,4 @@ set_target_properties(kdeconnectcore PROPERTIES
|
||||||
|
|
||||||
generate_export_header(kdeconnectcore EXPORT_FILE_NAME kdeconnectcore_export.h BASE_NAME KDEConnectCore)
|
generate_export_header(kdeconnectcore EXPORT_FILE_NAME kdeconnectcore_export.h BASE_NAME KDEConnectCore)
|
||||||
|
|
||||||
install(TARGETS kdeconnectcore EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
install(TARGETS kdeconnectcore EXPORT kdeconnectLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
||||||
|
|
|
@ -30,8 +30,8 @@ else()
|
||||||
endif()
|
endif()
|
||||||
configure_file(org.kde.kdeconnect.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service)
|
configure_file(org.kde.kdeconnect.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service)
|
||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR})
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.daemon.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kdeconnect.service DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR})
|
||||||
install(TARGETS kdeconnectd DESTINATION ${LIBEXEC_INSTALL_DIR})
|
install(TARGETS kdeconnectd DESTINATION ${KDE_INSTALL_LIBEXECDIR})
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
install (FILES "kdeconnect.contract" DESTINATION ${KDE_INSTALL_DATADIR}/contractor/)
|
install (FILES "kdeconnect.contract" DESTINATION ${KDE_INSTALL_DATADIR}/contractor/)
|
||||||
install (FILES "kdeconnect-thunar.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/Thunar/sendto/)
|
install (FILES "kdeconnect-thunar.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/Thunar/sendto/)
|
||||||
install(PROGRAMS org.kde.kdeconnect_open.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|
install(PROGRAMS org.kde.kdeconnect_open.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
||||||
install (FILES "kdeconnect-dde.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/deepin/dde-file-manager/oem-menuextensions/)
|
install (FILES "kdeconnect-dde.desktop" DESTINATION ${KDE_INSTALL_DATADIR}/deepin/dde-file-manager/oem-menuextensions/)
|
||||||
|
|
||||||
if(NOT SAILFISHOS)
|
if(NOT SAILFISHOS)
|
||||||
|
|
|
@ -19,8 +19,8 @@ else()
|
||||||
target_compile_definitions(kdeconnectdeclarativeplugin PRIVATE -DWITH_WAYLAND=0)
|
target_compile_definitions(kdeconnectdeclarativeplugin PRIVATE -DWITH_WAYLAND=0)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS kdeconnectdeclarativeplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
|
install(TARGETS kdeconnectdeclarativeplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kdeconnect)
|
||||||
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kdeconnect)
|
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kdeconnect)
|
||||||
|
|
||||||
ecm_generate_qmltypes(org.kde.kdeconnect 1.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kdeconnect)
|
ecm_generate_qmltypes(org.kde.kdeconnect 1.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kdeconnect)
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kdeconnect)
|
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kdeconnect)
|
||||||
|
|
|
@ -15,4 +15,4 @@ target_link_libraries(
|
||||||
kdeconnectinterfaces
|
kdeconnectinterfaces
|
||||||
kdeconnectcore
|
kdeconnectcore
|
||||||
)
|
)
|
||||||
install(TARGETS kdeconnectfileitemaction DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kfileitemaction)
|
install(TARGETS kdeconnectfileitemaction DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kfileitemaction)
|
||||||
|
|
|
@ -12,7 +12,7 @@ if(APPLE)
|
||||||
set(ICON_INSTALL_DIR share/kdeconnect-icons)
|
set(ICON_INSTALL_DIR share/kdeconnect-icons)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ecm_install_icons(ICONS ${APP_ICONS} DESTINATION ${ICON_INSTALL_DIR})
|
ecm_install_icons(ICONS ${APP_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR})
|
||||||
|
|
||||||
ecm_install_icons(ICONS
|
ecm_install_icons(ICONS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/status/16-status-laptopconnected.svg
|
${CMAKE_CURRENT_SOURCE_DIR}/status/16-status-laptopconnected.svg
|
||||||
|
@ -51,4 +51,4 @@ ecm_install_icons(ICONS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/status/32-status-tvconnected.svg
|
${CMAKE_CURRENT_SOURCE_DIR}/status/32-status-tvconnected.svg
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/status/32-status-tvdisconnected.svg
|
${CMAKE_CURRENT_SOURCE_DIR}/status/32-status-tvdisconnected.svg
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/status/32-status-tvtrusted.svg
|
${CMAKE_CURRENT_SOURCE_DIR}/status/32-status-tvtrusted.svg
|
||||||
DESTINATION ${ICON_INSTALL_DIR})
|
DESTINATION ${KDE_INSTALL_ICONDIR})
|
||||||
|
|
|
@ -61,5 +61,5 @@ set_target_properties(kdeconnect-indicator PROPERTIES
|
||||||
MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.kdeconnect")
|
MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.kdeconnect")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS kdeconnect-indicator ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS kdeconnect-indicator ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
install(PROGRAMS org.kde.kdeconnect.nonplasma.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|
install(PROGRAMS org.kde.kdeconnect.nonplasma.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
||||||
|
|
|
@ -77,4 +77,4 @@ LINK_PRIVATE
|
||||||
KF5::CoreAddons
|
KF5::CoreAddons
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kdeconnectinterfaces EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
install(TARGETS kdeconnectinterfaces EXPORT kdeconnectLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
||||||
|
|
|
@ -15,5 +15,5 @@ target_link_libraries(kcm_kdeconnect
|
||||||
kdeconnectversion
|
kdeconnectversion
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kcm_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
|
install(TARGETS kcm_kdeconnect DESTINATION ${KDE_INSTALL_PLUGINDIR})
|
||||||
install(FILES kcm_kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
install(FILES kcm_kdeconnect.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
|
||||||
|
|
|
@ -20,4 +20,4 @@ set_target_properties(kdeconnectpluginkcm PROPERTIES
|
||||||
generate_export_header(kdeconnectpluginkcm EXPORT_FILE_NAME kdeconnectpluginkcm_export.h BASE_NAME kdeconnectpluginkcm)
|
generate_export_header(kdeconnectpluginkcm EXPORT_FILE_NAME kdeconnectpluginkcm_export.h BASE_NAME kdeconnectpluginkcm)
|
||||||
|
|
||||||
# Remove NAMELINK_SKIP if/when headers are being installed and the library becomes public.
|
# Remove NAMELINK_SKIP if/when headers are being installed and the library becomes public.
|
||||||
install(TARGETS kdeconnectpluginkcm EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
install(TARGETS kdeconnectpluginkcm EXPORT kdeconnectLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
kpackage_install_package(package org.kde.kdeconnect plasmoids plasma NO_DEPRECATED_WARNING)
|
kpackage_install_package(package org.kde.kdeconnect plasmoids plasma NO_DEPRECATED_WARNING)
|
||||||
|
|
||||||
install(FILES package/metadata.desktop
|
install(FILES package/metadata.desktop
|
||||||
DESTINATION ${SERVICES_INSTALL_DIR}
|
DESTINATION ${KDE_INSTALL_KSERVICES5DIR}
|
||||||
RENAME plasma-kdeconnect.desktop)
|
RENAME plasma-kdeconnect.desktop)
|
||||||
|
|
|
@ -61,4 +61,4 @@ endif()
|
||||||
|
|
||||||
# If we split notifications per plugin, in several notifyrc files, they won't
|
# If we split notifications per plugin, in several notifyrc files, they won't
|
||||||
# appear in the same group in the Notifications KCM
|
# appear in the same group in the Notifications KCM
|
||||||
install(FILES kdeconnect.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
|
install(FILES kdeconnect.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR})
|
||||||
|
|
|
@ -9,5 +9,5 @@ add_executable(kdeconnect-settings
|
||||||
|
|
||||||
target_link_libraries(kdeconnect-settings kdeconnectversion KF5::I18n KF5::KCMUtils KF5::DBusAddons)
|
target_link_libraries(kdeconnect-settings kdeconnectversion KF5::I18n KF5::KCMUtils KF5::DBusAddons)
|
||||||
|
|
||||||
install(TARGETS kdeconnect-settings ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS kdeconnect-settings ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
install(FILES org.kde.kdeconnect-settings.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|
install(FILES org.kde.kdeconnect-settings.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
||||||
|
|
|
@ -62,5 +62,5 @@ target_link_libraries(kdeconnect-sms
|
||||||
KF5::KCMUtils
|
KF5::KCMUtils
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kdeconnect-sms ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS kdeconnect-sms ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
install(PROGRAMS org.kde.kdeconnect.sms.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
install(PROGRAMS org.kde.kdeconnect.sms.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
||||||
|
|
|
@ -16,5 +16,5 @@ target_link_libraries(kdeconnect-handler
|
||||||
KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM
|
KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS kdeconnect-handler ${INSTALL_TARGETS_DEFAULT_ARGS})
|
install(TARGETS kdeconnect-handler ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||||
install(PROGRAMS org.kde.kdeconnect.handler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
install(PROGRAMS org.kde.kdeconnect.handler.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||||
|
|
Loading…
Reference in a new issue