Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2fbf7755 authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Use new cmake variable

parent 63038084
......@@ -7,4 +7,4 @@ include (MacroLibrary)
########### install the plugins desktop file ###############
install(FILES kopete_tutorialplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES kopete_tutorialplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -7,7 +7,7 @@ include (MacroLibrary)
########### install the plugin desktop file ###############
install(FILES kopete_tutorialplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES kopete_tutorialplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
########### library containing plugin logic ###############
......@@ -32,6 +32,6 @@ add_library(kopete_tutorialplugin MODULE ${kopete_tutorialplugin_PART_SRCS})
target_link_libraries(kopete_tutorialplugin kopete )
# install the result with other KDE plugins
install(TARGETS kopete_tutorialplugin DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_tutorialplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
......@@ -7,7 +7,7 @@ include (MacroLibrary)
########### install the plugin desktop file ###############
install(FILES kopete_tutorialplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES kopete_tutorialplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
########### library containing plugin logic ###############
......@@ -32,7 +32,7 @@ add_library(kopete_tutorialplugin MODULE ${kopete_tutorialplugin_PART_SRCS})
target_link_libraries(kopete_tutorialplugin kopete )
# install the result with other KDE plugins
install(TARGETS kopete_tutorialplugin DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_tutorialplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### configuration module ##########################
......@@ -45,7 +45,7 @@ add_library(kcm_kopete_tutorialplugin MODULE ${kcm_kopete_tutorialplugin_PART_SR
target_link_libraries(kcm_kopete_tutorialplugin )
install(TARGETS kcm_kopete_tutorialplugin DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_tutorialplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
install( FILES kopete_tutorialplugin_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES kopete_tutorialplugin_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
########### install files ###############
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kopete)
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kopete)
......@@ -3,4 +3,4 @@ file(GLOB icons_svg "*.svg")
set(all_icons ${icons_png} ${icons_svg})
ecm_install_icons(ICONS ${all_icons} DESTINATION ${KDE_INSTALL_ICONDIR} THEME oxygen)
ecm_install_icons(${ICON_INSTALL_DIR})
ecm_install_icons(${KDE_INSTALL_ICONDIR})
......@@ -68,19 +68,19 @@ target_link_libraries(kopete_bin
kopeteidentity
)
install(TARGETS kopete_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(TARGETS kopete_bin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
install( PROGRAMS kopete.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install( PROGRAMS kopete.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES
kopeteui.rc
DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
install( FILES kopete.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kopete)
install( FILES kopeterc DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES org.kde.Kopete.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
install( FILES kopete.notifyrc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
install( FILES kopeterc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES org.kde.Kopete.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
ecm_install_icons( ${ICON_INSTALL_DIR} )
ecm_install_icons( ${KDE_INSTALL_ICONDIR} )
......@@ -18,7 +18,7 @@ ki18n_wrap_ui( kopeteaddaccountwizard_SRCS
add_library( kopeteaddaccountwizard SHARED ${kopeteaddaccountwizard_SRCS} )
target_link_libraries( kopeteaddaccountwizard kopete )
set_target_properties( kopeteaddaccountwizard PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS kopeteaddaccountwizard ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kopeteaddaccountwizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......
......@@ -25,7 +25,7 @@ kconfig_add_kcfg_files(kopetechatwindow_shared_SRCS GENERATE_MOC kopetechatwindo
add_library(kopetechatwindow_shared SHARED ${kopetechatwindow_shared_SRCS})
target_link_libraries(kopetechatwindow_shared kopete Phonon::phonon4qt5 KF5::KHtml )
set_target_properties(kopetechatwindow_shared PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS kopetechatwindow_shared ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kopetechatwindow_shared ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
......@@ -36,7 +36,7 @@ add_library(chattexteditpart MODULE ${chattexteditpart_PART_SRCS})
target_link_libraries(chattexteditpart kopete kopetechatwindow_shared KF5::Parts )
install(TARGETS chattexteditpart DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS chattexteditpart DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -48,7 +48,7 @@ add_library(kopete_chatwindow MODULE ${kopete_chatwindow_PART_SRCS})
target_link_libraries(kopete_chatwindow kopete kopetechatwindow_shared KF5::KHtml)
install(TARGETS kopete_chatwindow DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_chatwindow DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -61,7 +61,7 @@ add_library(kopete_emailwindow MODULE ${kopete_emailwindow_PART_SRCS})
target_link_libraries(kopete_emailwindow KF5::Parts KF5::KHtml kopete kopetechatwindow_shared)
install(TARGETS kopete_emailwindow DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_emailwindow DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -69,9 +69,9 @@ install(TARGETS kopete_emailwindow DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES kopeterichtexteditpartfull.rc DESTINATION ${DATA_INSTALL_DIR}/kopeterichtexteditpart)
install( FILES chatwindow.desktop emailwindow.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopetechatwindow.rc kopeteemailwindow.rc DESTINATION ${DATA_INSTALL_DIR}/kopete)
install( FILES kopeterichtexteditpartfull.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopeterichtexteditpart)
install( FILES chatwindow.desktop emailwindow.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES kopetechatwindow.rc kopeteemailwindow.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
......
......@@ -2,4 +2,4 @@ include_directories(${KOPETE_INCLUDES})
set(chatwindowaccessiblewidgetfactory_SRCS chatwindowaccessiblewidgetfactory.cpp accessiblechatmessagepart.cpp)
add_library(chatwindowaccessiblewidgetfactory MODULE ${chatwindowaccessiblewidgetfactory_SRCS})
target_link_libraries(chatwindowaccessiblewidgetfactory KF5::KHtml )
install(TARGETS chatwindowaccessiblewidgetfactory DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/accessible)
install(TARGETS chatwindowaccessiblewidgetfactory DESTINATION ${KDE_INSTALL_PLUGINDIR}/plugins/accessible)
......@@ -21,12 +21,12 @@ add_library(kcm_kopete_accountconfig MODULE ${kcm_kopete_accountconfig_PART_SRCS
target_link_libraries(kcm_kopete_accountconfig kopete kopeteaddaccountwizard kopeteidentity)
install(TARGETS kcm_kopete_accountconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_accountconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_accountconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_accountconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......
......@@ -37,12 +37,12 @@ add_library(kcm_kopete_appearanceconfig MODULE ${kcm_kopete_appearanceconfig_PAR
target_link_libraries(kcm_kopete_appearanceconfig KF5::KHtml kopete kopetecontactlist )
install(TARGETS kcm_kopete_appearanceconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_appearanceconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_appearanceconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_appearanceconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -17,12 +17,12 @@ add_library(kcm_kopete_avdeviceconfig MODULE ${kcm_kopete_avdeviceconfig_PART_SR
target_link_libraries(kcm_kopete_avdeviceconfig kopete kopete_videodevice)
install(TARGETS kcm_kopete_avdeviceconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_avdeviceconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_avdeviceconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_avdeviceconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
ecm_install_icons(${ICON_INSTALL_DIR})
#ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
ecm_install_icons(${KDE_INSTALL_ICONDIR})
......@@ -25,11 +25,11 @@ add_library(kcm_kopete_behaviorconfig MODULE ${kcm_kopete_behaviorconfig_PART_SR
target_link_libraries(kcm_kopete_behaviorconfig kopete)
install(TARGETS kcm_kopete_behaviorconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_behaviorconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_behaviorconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_behaviorconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -24,11 +24,11 @@ add_library(kcm_kopete_chatwindowconfig MODULE ${kcm_kopete_chatwindowconfig_PAR
target_link_libraries(kcm_kopete_chatwindowconfig kopete kopetechatwindow_shared ${KDE4_KNEWSTUFF2_LIBS} KF5::KHtml)
install(TARGETS kcm_kopete_chatwindowconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_chatwindowconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_chatwindowconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_chatwindowconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -11,9 +11,9 @@ add_library(kcm_kopete_pluginconfig MODULE ${kcm_kopete_pluginconfig_PART_SRCS})
target_link_libraries(kcm_kopete_pluginconfig kopete)
install(TARGETS kcm_kopete_pluginconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_pluginconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_pluginconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_pluginconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -18,8 +18,8 @@ add_library(kcm_kopete_statusconfig MODULE ${kcm_kopete_statusconfig_PART_SRCS})
target_link_libraries(kcm_kopete_statusconfig Qt5::Xml kopete)
install(TARGETS kcm_kopete_statusconfig DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_statusconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_statusconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_statusconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......@@ -43,8 +43,8 @@ target_link_libraries(
${QIMAGEBLITZ_LIBRARIES}
)
set_target_properties( kopetecontactlist PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS kopetecontactlist ${INSTALL_TARGETS_DEFAULT_ARGS})
install( FILES DefaultContactListLayouts.xml CompactContactListLayouts.xml DESTINATION ${DATA_INSTALL_DIR}/kopete)
install(TARGETS kopetecontactlist ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install( FILES DefaultContactListLayouts.xml CompactContactListLayouts.xml DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
########### install files ###############
......
......@@ -27,7 +27,7 @@ ki18n_wrap_ui( kopeteidentity_SRCS
add_library( kopeteidentity SHARED ${kopeteidentity_SRCS} )
target_link_libraries( kopeteidentity kopeteaddaccountwizard kopete kopetestatusmenu )
set_target_properties( kopeteidentity PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS kopeteidentity ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kopeteidentity ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......
if(NOT WIN32)
install( PROGRAMS kopete-account-kconf_update.sh kopete-jabberpriorityaddition-kconf_update.sh kopete-pluginloader2.sh kopete-jabberproxytype-kconf_update.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
install(FILES kopete-account-kconf_update.upd kopete-jabberproxytype-kconf_update.upd kopete-jabberpriorityaddition-kconf_update.upd kopete-pluginloader2.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
install( PROGRAMS kopete-account-kconf_update.sh kopete-jabberpriorityaddition-kconf_update.sh kopete-pluginloader2.sh kopete-jabberproxytype-kconf_update.sh DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install(FILES kopete-account-kconf_update.upd kopete-jabberproxytype-kconf_update.upd kopete-jabberpriorityaddition-kconf_update.upd kopete-pluginloader2.upd DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
endif(NOT WIN32)
install( FILES kopete-pluginloader.upd kopete-nameTracking.upd kopete-initialstatus.upd kopete-gaim_to_pidgin_style.upd kopete-update_yahoo_server.upd kopete-update_icq_server.upd kopete-update_icq_ssl.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
install( FILES kopete-pluginloader.upd kopete-nameTracking.upd kopete-initialstatus.upd kopete-gaim_to_pidgin_style.upd kopete-update_yahoo_server.upd kopete-update_icq_server.upd kopete-update_icq_ssl.upd DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install( PROGRAMS kopete-pluginloader.pl kopete-update_yahoo_server.pl kopete-update_icq_server.pl kopete-update_icq_ssl.pl
kopete-account-0.10.pl kopete-initialstatus.pl kopete-gaim_to_pidgin_style.pl
DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
......@@ -21,7 +21,7 @@ ki18n_wrap_ui( kopetestatusmenu_SRCS
add_library( kopetestatusmenu SHARED ${kopetestatusmenu_SRCS} )
target_link_libraries( kopetestatusmenu kopete KF5::KCMUtils )
set_target_properties( kopetestatusmenu PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS kopetestatusmenu ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kopetestatusmenu ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......
......@@ -187,7 +187,7 @@ if(MSVC)
OUTPUT_NAME libkopete
)
endif(MSVC)
install(TARGETS kopete ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kopete ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......@@ -212,17 +212,17 @@ install(FILES
ui/kopetestdaction.h
ui/kopeteview.h
ui/kopeteviewplugin.h
DESTINATION ${INCLUDE_INSTALL_DIR}/kopete/ui COMPONENT Devel )
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kopete/ui COMPONENT Devel )
install( FILES
kopeteappearancesettings.kcfg
kopetebehaviorsettings.kcfg
kopetestatussettings.kcfg
DESTINATION ${KCFG_INSTALL_DIR})
DESTINATION ${KDE_INSTALL_KCFGDIR})
install( FILES kopetecommandui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete)
install( FILES kopeteplugin.desktop kopeteprotocol.desktop kopeteui.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
install( FILES kopetecommandui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
install( FILES kopeteplugin.desktop kopeteprotocol.desktop kopeteui.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR})
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/kopeteappearancesettings.h
......@@ -274,6 +274,6 @@ install( FILES
tasks/kopetecontacttaskbase.h
tasks/kopetedeletecontacttask.h
private/kopeteemoticons.h
DESTINATION ${INCLUDE_INSTALL_DIR}/kopete COMPONENT Devel)
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kopete COMPONENT Devel)
install( FILES org.kde.kopete.Client.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
install( FILES org.kde.kopete.Client.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
......@@ -35,7 +35,7 @@ target_link_libraries(kopete_videodevice Qt5::Gui KF5::KDELibs4Support )
endif (LIBV4L2_FOUND)
set_target_properties(kopete_videodevice PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS kopete_videodevice ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kopete_videodevice ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
......
......@@ -13,7 +13,7 @@ add_library(kopete_addbookmarks MODULE ${kopete_addbookmarks_PART_SRCS})
target_link_libraries(kopete_addbookmarks KF5::KIOCore kopete )
install(TARGETS kopete_addbookmarks DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_addbookmarks DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -28,13 +28,13 @@ add_library(kcm_kopete_addbookmarks MODULE ${kcm_kopete_addbookmarks_PART_SRCS})
target_link_libraries(kcm_kopete_addbookmarks kopete )
install(TARGETS kcm_kopete_addbookmarks DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_addbookmarks DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_addbookmarks.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_addbookmarks_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES kopete_addbookmarks.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES kopete_addbookmarks_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......
......@@ -12,7 +12,7 @@ add_library(kopete_alias MODULE ${kopete_alias_PART_SRCS})
target_link_libraries(kopete_alias KF5::KDELibs4Support kopete )
install(TARGETS kopete_alias DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_alias DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -27,13 +27,13 @@ add_library(kcm_kopete_alias MODULE ${kcm_kopete_alias_PART_SRCS})
target_link_libraries(kcm_kopete_alias kopete )
install(TARGETS kcm_kopete_alias DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_alias DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_alias.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_alias_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES kopete_alias.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES kopete_alias_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......
......@@ -14,7 +14,7 @@ add_library(kopete_autoreplace MODULE ${kopete_autoreplace_PART_SRCS})
target_link_libraries(kopete_autoreplace kopete )
install(TARGETS kopete_autoreplace DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_autoreplace DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -29,13 +29,13 @@ add_library(kcm_kopete_autoreplace MODULE ${kcm_kopete_autoreplace_PART_SRCS})
target_link_libraries(kcm_kopete_autoreplace kopete )
install(TARGETS kcm_kopete_autoreplace DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_autoreplace DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_autoreplace.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_autoreplace_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES kopete_autoreplace.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES kopete_autoreplace_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......
......@@ -13,13 +13,13 @@ add_library(kopete_contactnotes MODULE ${kopete_contactnotes_PART_SRCS})
target_link_libraries(kopete_contactnotes KF5::KIOCore kopete )
install(TARGETS kopete_contactnotes DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_contactnotes DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_contactnotes.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES contactnotesui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_contactnotes)
install( FILES kopete_contactnotes.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES contactnotesui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_contactnotes)
......
......@@ -19,7 +19,7 @@ add_library(kopete_cryptography MODULE ${kopete_cryptography_PART_SRCS})
target_link_libraries(kopete_cryptography Qt5::Gui KF5::KDELibs4Support kopete ${KLEOPATRA_LIBRARIES} ${KDE4_KABC_LIBS} ${QGPGME_LIBRARIES} )
install(TARGETS kopete_cryptography DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_cryptography DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -43,11 +43,11 @@ target_link_libraries(
Qt5::Gui
)
install(TARGETS kcm_kopete_cryptography DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_cryptography DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_cryptography.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES cryptographyui.rc cryptographychatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_cryptography)
install( FILES kopete_cryptography_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES kopete_cryptography.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES cryptographyui.rc cryptographychatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_cryptography)
install( FILES kopete_cryptography_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......@@ -20,7 +20,7 @@ target_link_libraries(kopete_highlight
Qt5::Xml
)
install(TARGETS kopete_highlight DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_highlight DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -42,13 +42,13 @@ target_link_libraries(kcm_kopete_highlight
Qt5::Xml
)
install(TARGETS kcm_kopete_highlight DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_highlight DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_highlight.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES kopete_highlight_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES kopete_highlight.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES kopete_highlight_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......
......@@ -21,7 +21,7 @@ set_target_properties(kopete_history PROPERTIES AUTOMOC TRUE)
target_link_libraries(kopete_history Qt5::Widgets KF5::KHtml kopete )
install(TARGETS kopete_history DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_history DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -37,15 +37,15 @@ set_target_properties(kcm_kopete_history PROPERTIES AUTOMOC TRUE)
target_link_libraries(kcm_kopete_history KF5::KCMUtils Qt5::Widgets kopete )
install(TARGETS kcm_kopete_history DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_history DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES historyconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install( FILES kopete_history.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES historyui.rc historychatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_history)
install( FILES kopete_history_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES historyconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install( FILES kopete_history.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES historyui.rc historychatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_history)
install( FILES kopete_history_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......
......@@ -23,7 +23,7 @@ add_library(kopete_history2 MODULE ${kopete_history2_PART_SRCS})
target_link_libraries(kopete_history2 KF5::KHtml kopete Qt5::Sql)
install(TARGETS kopete_history2 DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_history2 DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -40,15 +40,15 @@ add_library(kcm_kopete_history2 MODULE ${kcm_kopete_history2_PART_SRCS})
target_link_libraries(kcm_kopete_history2 KF5::KHtml kopete Qt5::Sql)
install(TARGETS kcm_kopete_history2 DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_history2 DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES history2config.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install( FILES kopete_history2.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES history2ui.rc history2chatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_history2)
install( FILES kopete_history2_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES history2config.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install( FILES kopete_history2.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES history2ui.rc history2chatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_history2)
install( FILES kopete_history2_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......
......@@ -20,7 +20,7 @@ target_link_libraries(kopete_latex
KF5::KDELibs4Support
)
install(TARGETS kopete_latex DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_latex DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -44,16 +44,16 @@ target_link_libraries(kcm_kopete_latex
Qt5::Gui
)
install(TARGETS kcm_kopete_latex DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_latex DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES latexconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install( FILES kopete_latex.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES latexchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_latex)
install( FILES kopete_latex_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( PROGRAMS kopete_latexconvert.sh DESTINATION ${BIN_INSTALL_DIR})
install( FILES latexconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install( FILES kopete_latex.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES latexchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_latex)
install( FILES kopete_latex_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
install( PROGRAMS kopete_latexconvert.sh DESTINATION ${KDE_INSTALL_BINDIR})
......@@ -36,7 +36,7 @@ if(XMMS_FOUND)
target_link_libraries( kopete_nowlistening ${XMMS_LDFLAGS} )
endif(XMMS_FOUND)
install(TARGETS kopete_nowlistening DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_nowlistening DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -58,15 +58,15 @@ target_link_libraries(kcm_kopete_nowlistening
Qt5::Core
)
install(TARGETS kcm_kopete_nowlistening DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_nowlistening DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES nowlisteningconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install( FILES kopete_nowlistening.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES nowlisteningui.rc nowlisteningchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete)
install( FILES kopete_nowlistening_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
install( FILES nowlisteningconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install( FILES kopete_nowlistening.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES nowlisteningui.rc nowlisteningchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
install( FILES kopete_nowlistening_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
......
......@@ -12,7 +12,7 @@ add_library(kopete_otr MODULE ${kopete_otr_PART_SRCS})
target_link_libraries(kopete_otr kopete kopete_otr_shared ${LIBOTR_LIBRARY})
install(TARGETS kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kopete_otr DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -26,7 +26,7 @@ add_library(kcm_kopete_otr MODULE ${kcm_kopete_otr_PART_SRCS})
target_link_libraries(kcm_kopete_otr kopete kopete_otr_shared ${LIBOTR_LIBRARY})
install(TARGETS kcm_kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS kcm_kopete_otr DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
......@@ -43,11 +43,11 @@ add_library(kopete_otr_shared SHARED ${kopete_otr_shared_LIB_SRCS})
target_link_libraries(kopete_otr_shared kopete KF5::KIOCore ${LIBOTR_LIBRARY})
set_target_properties(kopete_otr_shared PROPERTIES VERSION 1.0.0 SOVERSION 1)
install(TARGETS kopete_otr_shared ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kopete_otr_shared ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############