1 include_directories(${KDEBASE_WORKSPACE_SOURCE_DIR}/libs ${KDEBASE_WORKSPACE_SOURCE_DIR}/plasma/shells/common ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs/kephal)
3 add_subdirectory(configupdates)
5 set(appletbrowserdialog_SRCS
6 ../common/appletbrowser.cpp
7 ../common/customdragtreeview.cpp
8 ../common/kcategorizeditemsview.cpp
9 ../common/kcategorizeditemsviewdelegate.cpp
10 ../common/kcategorizeditemsviewmodels.cpp
11 ../common/openwidgetassistant.cpp
12 ../common/plasmaappletitemmodel.cpp
16 ../common/wallpaperpreview.cpp
20 appletbrowserdialog_SRCS
21 ../common/kcategorizeditemsviewbase.ui
32 panelappletoverlay.cpp
36 ${appletbrowserdialog_SRCS}
40 kde4_add_ui_files(plasma_SRCS BackgroundDialog.ui)
41 kde4_add_kcfg_files(plasma_SRCS kcfg/plasma-shell-desktop.kcfgc)
44 set(plasma_SRCS ${plasma_SRCS} panelview_win.cpp)
47 set(plasmaapp_dbusXML dbus/org.kde.plasma.App.xml)
48 qt4_add_dbus_adaptor(plasma_SRCS ${plasmaapp_dbusXML} plasmaapp.h PlasmaApp)
50 set(ksmserver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
51 qt4_add_dbus_interface(plasma_SRCS ${ksmserver_xml} ksmserver_interface)
53 kde4_add_kdeinit_executable(plasma_qgv ${plasma_SRCS})
55 target_link_libraries(kdeinit_plasma_qgv ${KDE4_PLASMA_LIBS} ${KDE4_KNEWSTUFF2_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS})
58 target_link_libraries(kdeinit_plasma_qgv kworkspace ${X11_LIBRARIES})
61 target_link_libraries(kdeinit_plasma_qgv ${X11_Xrender_LIB})
62 endif(X11_Xrender_FOUND)
63 endif(UNIX AND Q_WS_X11)
65 set_target_properties(kdeinit_plasma_qgv PROPERTIES OUTPUT_NAME kdeinit4_plasma)
66 set_target_properties(plasma_qgv PROPERTIES OUTPUT_NAME plasma)
68 target_link_libraries(kdeinit_plasma_qgv kephal)
70 install(TARGETS kdeinit_plasma_qgv DESTINATION ${LIB_INSTALL_DIR})
71 install(TARGETS plasma_qgv ${INSTALL_TARGETS_DEFAULT_ARGS})
72 install(FILES plasma.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
73 install(FILES kcfg/plasma-shell-desktop.kcfg DESTINATION ${KCFG_INSTALL_DIR})
74 install(FILES plasma-themes.knsrc DESTINATION ${CONFIG_INSTALL_DIR})