2009-07-04 06:30:57 +02:00
|
|
|
# APPLET
|
|
|
|
|
2009-05-13 02:55:25 +02:00
|
|
|
set(simple_javascript_engine_SRCS
|
2010-08-09 22:40:13 +02:00
|
|
|
common/javascriptaddonpackagestructure.cpp
|
2010-10-20 21:40:30 +02:00
|
|
|
common/jsscriptenv.cpp
|
2010-10-13 20:08:07 +02:00
|
|
|
plasmoid/abstractjsappletscript.cpp
|
2010-08-06 04:01:40 +02:00
|
|
|
plasmoid/appletauthorization.cpp
|
2010-10-13 20:08:07 +02:00
|
|
|
plasmoid/jsappletinterface.cpp
|
2010-08-06 04:01:40 +02:00
|
|
|
plasmoid/simplejavascriptapplet.cpp
|
2010-09-25 00:51:16 +02:00
|
|
|
plasmoid/themedsvg.cpp
|
2009-12-14 22:54:23 +01:00
|
|
|
simplebindings/animationgroup.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/anchorlayout.cpp
|
2010-03-11 00:10:33 +01:00
|
|
|
simplebindings/dataenginereceiver.cpp
|
2009-12-16 23:05:46 +01:00
|
|
|
simplebindings/bytearrayclass.cpp
|
|
|
|
simplebindings/bytearrayprototype.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/color.cpp
|
2010-02-13 01:53:46 +01:00
|
|
|
simplebindings/dataengine.cpp
|
2010-01-13 00:32:56 +01:00
|
|
|
simplebindings/easingcurve.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/font.cpp
|
|
|
|
simplebindings/filedialogproxy.cpp
|
|
|
|
simplebindings/graphicsitem.cpp
|
2010-02-24 01:35:37 +01:00
|
|
|
simplebindings/icon.cpp
|
2010-09-04 00:36:45 +02:00
|
|
|
simplebindings/i18n.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/linearlayout.cpp
|
2009-11-29 05:17:30 +01:00
|
|
|
simplebindings/gridlayout.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/painter.cpp
|
2009-11-27 21:29:14 +01:00
|
|
|
simplebindings/pen.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/pixmap.cpp
|
|
|
|
simplebindings/point.cpp
|
|
|
|
simplebindings/rect.cpp
|
2009-12-16 23:05:46 +01:00
|
|
|
simplebindings/qscriptbookkeeping.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/size.cpp
|
2010-03-25 00:56:07 +01:00
|
|
|
simplebindings/sizepolicy.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/timer.cpp
|
2009-11-27 04:12:43 +01:00
|
|
|
simplebindings/uiloader.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/url.cpp
|
2009-05-13 02:55:25 +02:00
|
|
|
)
|
|
|
|
|
2010-08-06 04:01:40 +02:00
|
|
|
include_directories(${PHONON_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/common)
|
2009-05-13 02:55:25 +02:00
|
|
|
|
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}
|
2009-11-14 08:27:49 +01:00
|
|
|
${KDE4_KIO_LIBS}
|
2009-05-13 02:55:25 +02:00
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY}
|
|
|
|
${QT_QTUITOOLS_LIBRARY}
|
|
|
|
${QT_QTXML_LIBRARY}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS plasma_appletscript_simple_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
2010-08-05 06:42:21 +02:00
|
|
|
install(FILES data/plasma-scriptengine-applet-simple-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
2009-05-13 02:55:25 +02:00
|
|
|
|
2009-07-04 06:30:57 +02:00
|
|
|
# RUNNER
|
|
|
|
|
2009-05-13 02:55:25 +02:00
|
|
|
set(javascript_runner_engine_SRCS
|
2010-08-09 22:40:13 +02:00
|
|
|
common/javascriptaddonpackagestructure.cpp
|
2010-08-06 04:01:40 +02:00
|
|
|
common/scriptenv.cpp
|
|
|
|
runner/javascriptrunner.cpp
|
2010-09-04 00:36:45 +02:00
|
|
|
simplebindings/i18n.cpp
|
2009-05-13 02:55:25 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_runnerscript_javascript ${javascript_runner_engine_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(plasma_runnerscript_javascript
|
2010-01-07 03:39:49 +01:00
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY})
|
2009-05-13 02:55:25 +02:00
|
|
|
|
|
|
|
install(TARGETS plasma_runnerscript_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
2010-08-05 06:42:21 +02:00
|
|
|
install(FILES data/plasma-scriptengine-runner-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
2009-07-04 06:30:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
# DATAENGINE
|
|
|
|
|
|
|
|
set(javascript_dataengine_engine_SRCS
|
2010-08-09 22:40:13 +02:00
|
|
|
common/javascriptaddonpackagestructure.cpp
|
|
|
|
common/scriptenv.cpp
|
2010-08-06 04:01:40 +02:00
|
|
|
dataengine/javascriptdataengine.cpp
|
2010-08-06 06:21:42 +02:00
|
|
|
dataengine/javascriptservice.cpp
|
2010-02-13 01:53:46 +01:00
|
|
|
simplebindings/dataengine.cpp
|
2010-09-04 00:36:45 +02:00
|
|
|
simplebindings/i18n.cpp
|
2010-09-16 03:14:08 +02:00
|
|
|
simplebindings/qscriptnonguibookkeeping.cpp
|
2009-07-04 06:30:57 +02:00
|
|
|
)
|
|
|
|
kde4_add_plugin(plasma_dataenginescript_javascript ${javascript_dataengine_engine_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(plasma_dataenginescript_javascript
|
2010-01-07 03:39:49 +01:00
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY})
|
2009-07-04 06:30:57 +02:00
|
|
|
|
|
|
|
install(TARGETS plasma_dataenginescript_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
2010-08-05 06:42:21 +02:00
|
|
|
install(FILES data/plasma-scriptengine-dataengine-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
2009-07-04 06:30:57 +02:00
|
|
|
|
2010-08-09 22:40:13 +02:00
|
|
|
# ADDONS
|
|
|
|
|
|
|
|
set(javascript_addon_packagestructure_SRCS
|
|
|
|
common/addonpackageplugin.cpp
|
|
|
|
common/javascriptaddonpackagestructure.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_packagestructure_javascriptaddon ${javascript_addon_packagestructure_SRCS})
|
|
|
|
target_link_libraries(plasma_packagestructure_javascriptaddon ${KDE4_PLASMA_LIBS})
|
|
|
|
|
|
|
|
install(TARGETS plasma_packagestructure_javascriptaddon DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES data/plasma-packagestructure-javascript-addon.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|
2010-08-05 21:26:25 +02:00
|
|
|
install(FILES data/plasma-javascriptaddon.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
|
|
|
|
2010-10-14 20:43:25 +02:00
|
|
|
#DECLARATIVE APPLET
|
|
|
|
set(declarative_appletscript_SRCS
|
|
|
|
common/javascriptaddonpackagestructure.cpp
|
2010-10-20 21:40:30 +02:00
|
|
|
common/declarativescriptenv.cpp
|
2010-10-21 19:39:05 +02:00
|
|
|
declarative/packageaccessmanager.cpp
|
|
|
|
declarative/packageaccessmanagerfactory.cpp
|
2010-10-14 20:43:25 +02:00
|
|
|
plasmoid/abstractjsappletscript.cpp
|
|
|
|
plasmoid/appletauthorization.cpp
|
|
|
|
plasmoid/appletinterface.cpp
|
|
|
|
plasmoid/declarativeappletscript.cpp
|
|
|
|
plasmoid/engineaccess.cpp
|
|
|
|
plasmoid/themedsvg.cpp
|
|
|
|
simplebindings/bytearrayclass.cpp
|
|
|
|
simplebindings/bytearrayprototype.cpp
|
|
|
|
simplebindings/dataengine.cpp
|
|
|
|
simplebindings/dataenginereceiver.cpp
|
|
|
|
simplebindings/filedialogproxy.cpp
|
|
|
|
simplebindings/i18n.cpp
|
|
|
|
simplebindings/icon.cpp
|
|
|
|
simplebindings/qscriptbookkeeping.cpp
|
|
|
|
simplebindings/url.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(${PHONON_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/common)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_appletscript_declarative ${declarative_appletscript_SRCS})
|
|
|
|
target_link_libraries(plasma_appletscript_declarative
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY}
|
|
|
|
${QT_QTDECLARATIVE_LIBRARY}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS plasma_appletscript_declarative DESTINATION ${PLUGIN_INSTALL_DIR})
|
2010-10-17 20:53:53 +02:00
|
|
|
install(FILES data/plasma-scriptengine-applet-declarative.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
2010-08-09 22:40:13 +02:00
|
|
|
|
|
|
|
|