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

Use non-deprecated KDEInstallDirs variables

parent fd47e270
......@@ -5,7 +5,7 @@ endif()
plasma_install_package(package org.kde.plasma.cuttlefish packages package)
install(FILES org.kde.cuttlefish.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.cuttlefish.appdata.xml DESTINATION ${CMAKE_INSTALL_METAINFODIR})
install(FILES org.kde.cuttlefish.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.cuttlefish.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
......@@ -20,6 +20,6 @@ target_link_libraries(cuttlefish
KF5::Package
)
install( TARGETS cuttlefish ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(TARGETS cuttlefish ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
add_subdirectory(editorplugin)
......@@ -15,6 +15,6 @@ target_link_libraries(cuttlefishplugin
KF5::Service
)
install(TARGETS cuttlefishplugin DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor)
install(TARGETS cuttlefishplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
kcoreaddons_desktop_to_json (cuttlefishplugin cuttlefishplugin.desktop)
......@@ -22,6 +22,6 @@ target_link_libraries(plasmaengineexplorer
KF5::ConfigWidgets
)
install(TARGETS plasmaengineexplorer ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS plasmaengineexplorer ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
kdoctools_create_manpage (man-plasmaengineexplorer.1.docbook 1 INSTALL_DESTINATION ${MAN_INSTALL_DIR})
kdoctools_create_manpage (man-plasmaengineexplorer.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
......@@ -3,7 +3,6 @@ add_definitions(-DTRANSLATION_DOMAIN=\"org.kde.plasma.lookandfeelexplorer\")
add_subdirectory(src)
kpackage_install_package(package org.kde.plasma.lookandfeelexplorer genericqml)
# install(FILES metadata.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES package/metadata.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} RENAME org.kde.plasma.lookandfeelexplorer.desktop)
install(FILES package/metadata.desktop DESTINATION ${KDE_INSTALL_APPDIR} RENAME org.kde.plasma.lookandfeelexplorer.desktop)
......@@ -26,4 +26,4 @@ target_link_libraries(lookandfeelexplorer
KF5::QuickAddons
)
install(TARGETS lookandfeelexplorer ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS lookandfeelexplorer ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -18,9 +18,9 @@ target_link_libraries(plasmoidviewer
KF5::ConfigWidgets
)
install(TARGETS plasmoidviewer ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS plasmoidviewer ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
kdoctools_create_manpage (man-plasmoidviewer.1.docbook 1 INSTALL_DESTINATION ${MAN_INSTALL_DIR})
kdoctools_create_manpage (man-plasmoidviewer.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
#qml
plasma_install_package(qmlpackages/shell org.kde.plasma.plasmoidviewershell shells shell)
......@@ -3,7 +3,6 @@ add_definitions(-DTRANSLATION_DOMAIN=\"org.kde.plasma.themeexplorer\")
add_subdirectory(src)
kpackage_install_package(package org.kde.plasma.themeexplorer genericqml)
# install(FILES metadata.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES package/metadata.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} RENAME org.kde.plasma.themeexplorer.desktop)
install(FILES package/metadata.desktop DESTINATION ${KDE_INSTALL_APPDIR} RENAME org.kde.plasma.themeexplorer.desktop)
......@@ -27,4 +27,4 @@ target_link_libraries(plasmathemeexplorer
KF5::QuickAddons
)
install(TARGETS plasmathemeexplorer ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS plasmathemeexplorer ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -7,5 +7,5 @@ kde4_add_executable(plasmawallpaperviewer ${plasmawallpaperviewer_SRCS})
target_link_libraries(plasmawallpaperviewer KF5::Plasma)
install(TARGETS plasmawallpaperviewer ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS plasmawallpaperviewer ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
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