From ac187bfc505c1f26992fccc9aa0d79b2fa379882 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 14 Oct 2010 18:43:25 +0000 Subject: [PATCH] build the declarative engine in its new location svn path=/trunk/KDE/kdebase/runtime/; revision=1185950 --- scriptengines/javascript/CMakeLists.txt | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/scriptengines/javascript/CMakeLists.txt b/scriptengines/javascript/CMakeLists.txt index fd7e66b4b..0fa664c78 100644 --- a/scriptengines/javascript/CMakeLists.txt +++ b/scriptengines/javascript/CMakeLists.txt @@ -110,5 +110,40 @@ install(FILES data/plasma-packagestructure-javascript-addon.desktop DESTINATION install(FILES data/plasma-javascriptaddon.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR}) +#DECLARATIVE APPLET +set(declarative_appletscript_SRCS + common/javascriptaddonpackagestructure.cpp + common/scriptenvui.cpp + 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}) +install(FILES data/plasma-scriptengine-applet-declartive.desktop DESTINATION ${SERVICES_INSTALL_DIR})