Commit 9680827b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Update installation variables.

parent 56548bd2
......@@ -16,8 +16,8 @@ target_link_libraries(akregator_config_general
KF5::KIOCore
)
install(FILES akregator_config_general.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_config_general DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_config_general.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_general DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -31,8 +31,8 @@ target_link_libraries(akregator_config_appearance
KF5::KIOCore
)
install(FILES akregator_config_appearance.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_config_appearance DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_config_appearance.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_appearance DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -46,8 +46,8 @@ target_link_libraries(akregator_config_archive
KF5::KIOCore
)
install(FILES akregator_config_archive.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_config_archive DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_config_archive.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_archive DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -61,8 +61,8 @@ target_link_libraries(akregator_config_browser
KF5::KIOCore
)
install(FILES akregator_config_browser.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_config_browser DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_config_browser.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_browser DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -79,5 +79,5 @@ target_link_libraries(akregator_config_advanced
KF5::KIOCore
)
install(FILES akregator_config_advanced.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_config_advanced DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_config_advanced.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_advanced DESTINATION ${KDE_INSTALL_PLUGINDIR})
......@@ -14,5 +14,5 @@ target_link_libraries(akregatorstorageexporter
akregatorinterfaces
)
install(TARGETS akregatorstorageexporter ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS akregatorstorageexporter ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -23,6 +23,6 @@ target_link_libraries(akregatorinterfaces
set_target_properties(akregatorinterfaces PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION}
)
install(TARGETS akregatorinterfaces ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES akregator.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(TARGETS akregatorinterfaces ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES akregator.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
......@@ -45,8 +45,8 @@ target_link_libraries(akregator_mk4storage_plugin
akregatorinterfaces
)
install(TARGETS akregator_mk4storage_plugin DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS akregator_mk4storage_plugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install(FILES akregator_mk4storage_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES akregator_mk4storage_plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -31,8 +31,8 @@ target_link_libraries(akregator_config_onlinesync
${KDE4_KPARTS_LIBS}
)
install(FILES akregator_config_onlinesync.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_config_onlinesync DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_config_onlinesync.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_onlinesync DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -63,6 +63,6 @@ target_link_libraries(akregator_onlinesync_plugin
${KDE4_KPARTS_LIBS}
)
install(FILES akregator_onlinesync_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_onlinesync_plugin DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_onlinesync_plugin.rc DESTINATION ${DATA_INSTALL_DIR}/akregator_onlinesync_plugin)
install(FILES akregator_onlinesync_plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_onlinesync_plugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES akregator_onlinesync_plugin.rc DESTINATION ${KDE_INSTALL_DATADIR}/akregator_onlinesync_plugin)
......@@ -20,9 +20,9 @@ MESSAGE(STATUS "Akregator plasma plugin disabled")
# KF5::KIOCore
#)
#install(FILES akregator_sharemicroblog_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
#install(TARGETS akregator_sharemicroblog_plugin DESTINATION ${PLUGIN_INSTALL_DIR})
#install(FILES akregator_sharemicroblog_plugin.rc DESTINATION ${DATA_INSTALL_DIR}/akregator_sharemicroblog_plugin)
#install(FILES akregator_sharemicroblog_plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#install(TARGETS akregator_sharemicroblog_plugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
#install(FILES akregator_sharemicroblog_plugin.rc DESTINATION ${KDE_INSTALL_DATADIR}/akregator_sharemicroblog_plugin)
########### settings target ###############
......@@ -39,5 +39,5 @@ target_link_libraries(akregator_config_sharemicroblog
KF5::KIOCore
)
install(FILES akregator_config_sharemicroblog.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(TARGETS akregator_config_sharemicroblog DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES akregator_config_sharemicroblog.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS akregator_config_sharemicroblog DESTINATION ${KDE_INSTALL_PLUGINDIR})
......@@ -26,7 +26,7 @@ target_link_libraries(akregator
akregatorinterfaces
)
install(TARGETS akregator ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS akregator ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
......@@ -71,7 +71,7 @@ set_target_properties(akregatorprivate
PROPERTIES VERSION ${KDEPIM_LIB_VERSION}
SOVERSION ${KDEPIM_LIB_SOVERSION}
)
install(TARGETS akregatorprivate ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
install(TARGETS akregatorprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
########### next target ###############
......@@ -130,15 +130,15 @@ target_link_libraries(akregatorpart
KF5::Syndication
)
install(TARGETS akregatorpart DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS akregatorpart DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install(PROGRAMS org.kde.akregator.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES akregator_part.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES akregator.appdata.xml DESTINATION ${CMAKE_INSTALL_METAINFODIR})
install(FILES akregator_plugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
install(FILES akregator_shell.rc articleviewer.rc pageviewer.rc akregator_part.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/akregator)
install(FILES feed.protocol DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES org.kde.akregator.part.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})
install(FILES akregator.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR} )
install(PROGRAMS org.kde.akregator.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES akregator_part.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES akregator.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES akregator_plugin.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR})
install(FILES akregator_shell.rc articleviewer.rc pageviewer.rc akregator_part.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/akregator)
install(FILES feed.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES org.kde.akregator.part.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR})
install(FILES akregator.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )
install(FILES top-left-akregator.png main.html akregator.css DESTINATION ${DATA_INSTALL_DIR}/akregator/about)
install(FILES top-left-akregator.png main.html akregator.css DESTINATION ${KDE_INSTALL_DATADIR}/akregator/about)
install(FILES kmmsgnew.png kmmsgunseen.png DESTINATION ${DATA_INSTALL_DIR}/akregator/pics)
install(FILES kmmsgnew.png kmmsgunseen.png DESTINATION ${KDE_INSTALL_DATADIR}/akregator/pics)
ecm_install_icons( ICONS hi128-apps-akregator.png hi16-apps-akregator_empty.png hi16-apps-akregator.png hi22-apps-akregator.png hi256-apps-akregator.png hi32-apps-akregator.png hi48-apps-akregator.png hi64-apps-akregator.png DESTINATION ${ICON_INSTALL_DIR} )
ecm_install_icons( ICONS hi128-apps-akregator.png hi16-apps-akregator_empty.png hi16-apps-akregator.png hi22-apps-akregator.png hi256-apps-akregator.png hi32-apps-akregator.png hi48-apps-akregator.png hi64-apps-akregator.png DESTINATION ${KDE_INSTALL_ICONDIR} )
Markdown is supported
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