2013-02-04 16:10:53 +01:00
|
|
|
# APPLET
|
|
|
|
|
|
|
|
if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
|
|
|
|
set(PLASMA_NO_KDEWEBKIT TRUE)
|
|
|
|
set(PLASMA_NO_KNEWSTUFF TRUE)
|
|
|
|
set(PLASMA_NO_SOLID TRUE)
|
|
|
|
set(PLASMA_NO_KIO TRUE)
|
|
|
|
endif(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
|
|
|
|
|
|
|
|
include_directories(${KDE4_INCLUDE_DIR}/KDE ${PHONON_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/common)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#DECLARATIVE APPLET
|
|
|
|
set(declarative_appletscript_SRCS
|
|
|
|
common/scriptenv.cpp
|
|
|
|
declarative/packageaccessmanager.cpp
|
|
|
|
declarative/packageaccessmanagerfactory.cpp
|
|
|
|
declarative/qmlobject.cpp
|
|
|
|
plasmoid/appletauthorization.cpp
|
|
|
|
plasmoid/appletinterface.cpp
|
|
|
|
plasmoid/declarativeappletscript.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_KIO_LIBS}
|
|
|
|
${KDE4_KDE4SUPPORT_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY}
|
2013-02-08 16:08:06 +01:00
|
|
|
${Qt5Quick_LIBRARIES}
|
|
|
|
${Qt5Qml_LIBRARIES}
|
2013-02-04 16:10:53 +01:00
|
|
|
${QT_QTUITOOLS_LIBRARY}
|
2013-02-08 12:07:16 +01:00
|
|
|
${KDE4_KDECORE_LIBS}
|
2013-02-05 16:30:10 +01:00
|
|
|
plasma
|
2013-02-04 16:10:53 +01:00
|
|
|
kdeclarative
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS plasma_appletscript_declarative DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES data/plasma-scriptengine-applet-declarative.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|
|
|
|
|