Commit 3e057091 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use non-deprecated KDEInstallDirs variables

parent b229b65d
......@@ -8,7 +8,7 @@ add_subdirectory(wizard)
add_subdirectory(applet)
add_subdirectory(fileitemactionplugin)
install(FILES bluedevil.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
install(FILES bluedevil.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR})
install(FILES bluedevil-mime.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
install(FILES bluedevil-mime.xml DESTINATION ${KDE_INSTALL_MIMEDIR})
update_xdg_mimetypes(${KDE_INSTALL_MIMEDIR})
......@@ -11,5 +11,5 @@ target_link_libraries(bluetoothplugin
KF5::Notifications
KF5::BluezQt)
install(TARGETS bluetoothplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/bluetooth)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/bluetooth)
install(TARGETS bluetoothplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/bluetooth)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/bluetooth)
......@@ -15,5 +15,5 @@ target_link_libraries(bluetoothfileitemaction
target_include_directories(bluetoothfileitemaction SYSTEM
PUBLIC $<TARGET_PROPERTY:KF5::BluezQt,INTERFACE_INCLUDE_DIRECTORIES>)
install(TARGETS bluetoothfileitemaction DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES bluedevilfileitemaction.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS bluetoothfileitemaction DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES bluedevilfileitemaction.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -17,5 +17,5 @@ target_link_libraries(kcm_bluedeviladapters
KF5::ConfigWidgets
KF5::BluezQt)
install(TARGETS kcm_bluedeviladapters DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES bluedeviladapters.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS kcm_bluedeviladapters DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES bluedeviladapters.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -21,5 +21,5 @@ target_link_libraries(kcm_bluedevildevices
KF5::ConfigWidgets
KF5::BluezQt)
install(TARGETS kcm_bluedevildevices DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES bluedevildevices.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS kcm_bluedevildevices DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES bluedevildevices.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -23,5 +23,5 @@ target_link_libraries(kcm_bluedevilglobal
KF5::ConfigWidgets
KF5::BluezQt)
install(TARGETS kcm_bluedevilglobal DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES bluedevilglobal.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS kcm_bluedevilglobal DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES bluedevilglobal.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -22,6 +22,6 @@ target_include_directories(kio_bluetooth SYSTEM
PUBLIC $<TARGET_PROPERTY:KF5::BluezQt,INTERFACE_INCLUDE_DIRECTORIES>)
########### install files ###############
install(TARGETS kio_bluetooth DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES bluetooth.protocol DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES bluetooth-network.desktop DESTINATION ${DATA_INSTALL_DIR}/remoteview)
install(TARGETS kio_bluetooth DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES bluetooth.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES bluetooth-network.desktop DESTINATION ${KDE_INSTALL_DATADIR}/remoteview)
......@@ -18,8 +18,8 @@ target_link_libraries(kio_obexftp
KF5::BluezQt
)
install(TARGETS kio_obexftp DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kio_obexftp DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install(FILES obexftp.protocol DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES obexftp.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -33,5 +33,5 @@ target_link_libraries(bluedevil-sendfile
KF5::BluezQt
)
install(TARGETS bluedevil-sendfile DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES org.kde.bluedevilsendfile.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(TARGETS bluedevil-sendfile DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES org.kde.bluedevilsendfile.desktop DESTINATION ${KDE_INSTALL_APPDIR})
......@@ -31,6 +31,6 @@ target_link_libraries(bluedevil-wizard
KF5::IconThemes
KF5::BluezQt)
install(TARGETS bluedevil-wizard ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES org.kde.bluedevilwizard.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES pin-code-database.xml DESTINATION ${DATA_INSTALL_DIR}/bluedevilwizard)
install(TARGETS bluedevil-wizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES org.kde.bluedevilwizard.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES pin-code-database.xml DESTINATION ${KDE_INSTALL_DATADIR}/bluedevilwizard)
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