2009-07-04 06:30:57 +02:00
|
|
|
# APPLET
|
|
|
|
|
2009-05-13 02:55:25 +02:00
|
|
|
set(simple_javascript_engine_SRCS
|
|
|
|
simplejavascriptapplet.cpp
|
|
|
|
appletinterface.cpp
|
|
|
|
uiloader.cpp
|
|
|
|
qtgui/font.cpp
|
|
|
|
qtgui/graphicsitem.cpp
|
|
|
|
qtgui/linearlayout.cpp
|
2009-11-03 04:06:04 +01:00
|
|
|
qtgui/anchorlayout.cpp
|
2009-05-13 02:55:25 +02:00
|
|
|
qtgui/painter.cpp
|
2009-10-21 01:15:33 +02:00
|
|
|
qtgui/pixmap.cpp
|
2009-05-13 02:55:25 +02:00
|
|
|
qtgui/point.cpp
|
|
|
|
qtgui/rect.cpp
|
|
|
|
qtgui/size.cpp
|
|
|
|
qtgui/timer.cpp
|
|
|
|
qtgui/url.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(${PHONON_INCLUDES})
|
|
|
|
|
|
|
|
|
2009-10-21 01:15:33 +02:00
|
|
|
kde4_add_plugin(plasma_appletscript_simple_javascript ${simple_javascript_engine_SRCS})
|
2009-05-13 02:55:25 +02:00
|
|
|
|
|
|
|
target_link_libraries(plasma_appletscript_simple_javascript
|
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY}
|
|
|
|
${QT_QTUITOOLS_LIBRARY}
|
|
|
|
${QT_QTXML_LIBRARY}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS plasma_appletscript_simple_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-scriptengine-applet-simple-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|
2009-07-04 06:30:57 +02:00
|
|
|
# RUNNER
|
|
|
|
|
2009-05-13 02:55:25 +02:00
|
|
|
set(javascript_runner_engine_SRCS
|
|
|
|
javascriptrunner.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_runnerscript_javascript ${javascript_runner_engine_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(plasma_runnerscript_javascript
|
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY}
|
|
|
|
${QT_QTUITOOLS_LIBRARY}
|
|
|
|
${QT_QTXML_LIBRARY}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS plasma_runnerscript_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-scriptengine-runner-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
2009-07-04 06:30:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
# DATAENGINE
|
|
|
|
|
|
|
|
set(javascript_dataengine_engine_SRCS
|
|
|
|
javascriptdataengine.cpp
|
|
|
|
)
|
|
|
|
kde4_add_plugin(plasma_dataenginescript_javascript ${javascript_dataengine_engine_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(plasma_dataenginescript_javascript
|
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY})
|
|
|
|
|
|
|
|
install(TARGETS plasma_dataenginescript_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-scriptengine-dataengine-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|