Changeset View
Changeset View
Standalone View
Standalone View
plugins/akregator/CMakeLists.txt
1 | | ||||
---|---|---|---|---|---|
2 | ecm_qt_declare_logging_category(akregatorplugin_DEBUG_SRCS HEADER akregatorplugindebug.h IDENTIFIER AKREGATORPLUGIN_LOG CATEGORY_NAME org.kde.konqueror.akregatorplugin) | ||||
3 | | ||||
1 | ########### next target ############### | 4 | ########### next target ############### | ||
2 | add_definitions(-DTRANSLATION_DOMAIN=\"akregator_konqplugin\") | | |||
3 | MESSAGE(STATUS "akregator popupmenu plugin disabled. Doable via servicemenu or should we re-introduce ServiceMenusPlugin?") | | |||
4 | 5 | | |||
5 | #set(akregatorkonqplugin_PART_SRCS akregatorplugin.cpp pluginbase.cpp ) | 6 | set(akregatorplugin_PART_SRCS akregatorplugin.cpp pluginbase.cpp ) | ||
6 | # | | |||
7 | #kde4_add_plugin(akregatorkonqplugin ${akregatorkonqplugin_PART_SRCS} ${akregatorplugin_DEBUG_SRCS}) | | |||
8 | # | | |||
9 | #target_link_libraries(akregatorkonqplugin ${KDE4_KDE3SUPPORT_LIBS} Qt5::Xml konq | | |||
10 | # KF5::KHtml ) | | |||
11 | # | | |||
12 | #install(TARGETS akregatorkonqplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | | |||
13 | 7 | | |||
8 | kcoreaddons_add_plugin(akregatorplugin SOURCES ${akregatorplugin_PART_SRCS} ${akregatorplugin_DEBUG_SRCS} INSTALL_NAMESPACE "kf5/kfileitemaction") | ||||
9 | kcoreaddons_desktop_to_json(akregatorplugin akregator_konqplugin.desktop) | ||||
14 | 10 | | |||
15 | ecm_qt_declare_logging_category(akregatorplugin_DEBUG_SRCS HEADER akregatorplugindebug.h IDENTIFIER AKREGATORPLUGIN_LOG CATEGORY_NAME org.kde.konqueror.akregatorplugin) | 11 | target_compile_definitions(akregatorplugin PRIVATE TRANSLATION_DOMAIN="akregator_konqplugin") | ||
12 | target_link_libraries(akregatorplugin KF5::I18n KF5::KIOWidgets) | ||||
16 | 13 | | |||
17 | ########### next target ############### | 14 | ########### next target ############### | ||
18 | 15 | | |||
19 | set(akregatorkonqfeedicon_PART_SRCS konqfeedicon.cpp feeddetector.cpp pluginbase.cpp ) | 16 | set(akregatorkonqfeedicon_PART_SRCS konqfeedicon.cpp feeddetector.cpp pluginbase.cpp ) | ||
20 | 17 | | |||
21 | add_library(akregatorkonqfeedicon MODULE ${akregatorkonqfeedicon_PART_SRCS} ${akregatorplugin_DEBUG_SRCS}) | 18 | add_library(akregatorkonqfeedicon MODULE ${akregatorkonqfeedicon_PART_SRCS} ${akregatorplugin_DEBUG_SRCS}) | ||
22 | 19 | | |||
23 | target_compile_definitions(akregatorkonqfeedicon PRIVATE TRANSLATION_DOMAIN="akregator_konqplugin") | 20 | target_compile_definitions(akregatorkonqfeedicon PRIVATE TRANSLATION_DOMAIN="akregator_konqplugin") | ||
24 | | ||||
25 | target_link_libraries(akregatorkonqfeedicon KF5::Parts KF5::IconThemes) | 21 | target_link_libraries(akregatorkonqfeedicon KF5::Parts KF5::IconThemes) | ||
26 | 22 | | |||
27 | install(TARGETS akregatorkonqfeedicon DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | 23 | install(TARGETS akregatorkonqfeedicon DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | ||
28 | 24 | | |||
29 | | ||||
30 | ########### install files ############### | 25 | ########### install files ############### | ||
31 | 26 | | |||
32 | #install( FILES akregator_konqplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | 27 | install( FILES akregator_konqplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | ||
33 | install( FILES akregator_konqfeedicon.desktop akregator_konqfeedicon.rc DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) | 28 | install( FILES akregator_konqfeedicon.desktop akregator_konqfeedicon.rc DESTINATION ${KDE_INSTALL_DATADIR}/khtml/kpartplugins ) | ||
34 | install( FILES akregator_konqfeedicon.desktop akregator_konqfeedicon.rc DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) | 29 | install( FILES akregator_konqfeedicon.desktop akregator_konqfeedicon.rc DESTINATION ${KDE_INSTALL_DATADIR}/kwebkitpart/kpartplugins ) | ||
35 | 30 | | |||
36 | install( FILES feed.png DESTINATION ${KDE_INSTALL_DATADIR}/akregator/pics ) | 31 | install( FILES feed.png DESTINATION ${KDE_INSTALL_DATADIR}/akregator/pics ) | ||
37 | 32 | | |||
38 | # contains list of debug categories, for kdebugsettings | 33 | # contains list of debug categories, for kdebugsettings | ||
39 | install(FILES akregatorplugin.categories DESTINATION ${KDE_INSTALL_CONFDIR}) | 34 | install(FILES akregatorplugin.categories DESTINATION ${KDE_INSTALL_CONFDIR}) |