project(plasma-knewsticker)

include_directories( ${Boost_INCLUDE_DIR} )

set(knewsticker_SRCS
        knewsticker.cpp
        newsfeedmanager.cpp
        feedsettingswidget.cpp
        itemviews.cpp
        settingsdialog.cpp)

kde4_add_kcfg_files(knewsticker_SRCS settings.kcfgc)
kde4_add_ui_files(knewsticker_SRCS visualsettings.ui feedsettings.ui)
kde4_add_plugin(plasma_applet_knewsticker ${knewsticker_SRCS})

target_link_libraries(plasma_applet_knewsticker ${PLASMA_LIBS} ${KDE4_SYNDICATION_LIBS})

install(TARGETS plasma_applet_knewsticker DESTINATION ${PLUGIN_INSTALL_DIR})

########### install files ###############

install(FILES plasma-knewsticker-default.desktop DESTINATION ${SERVICES_INSTALL_DIR})
kde4_install_icons(${ICON_INSTALL_DIR})
