2009-12-23 13:27:31 +01:00
|
|
|
# strange conversion error in pushbutton.cpp
|
|
|
|
kde4_no_enable_final(plasma)
|
|
|
|
|
2010-04-29 07:57:34 +02:00
|
|
|
if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
|
|
|
|
set(PLASMA_NO_KDEWEBKIT TRUE)
|
|
|
|
set(PLASMA_NO_KNEWSTUFF TRUE)
|
|
|
|
set(PLASMA_NO_SOLID TRUE)
|
2010-10-14 14:27:15 +02:00
|
|
|
set(PLASMA_NO_KIO TRUE)
|
2011-08-01 21:53:32 +02:00
|
|
|
set(PLASMA_NO_PACKAGEKIT TRUE)
|
2011-11-02 17:22:36 +01:00
|
|
|
set(PLASMA_NO_KUTILS TRUE)
|
2011-11-14 21:19:53 +01:00
|
|
|
set(PLASMA_NO_GLOBAL_SHORTCUTS TRUE)
|
2010-04-29 07:57:34 +02:00
|
|
|
endif(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
|
2009-12-23 13:27:31 +01:00
|
|
|
|
2011-08-01 21:53:32 +02:00
|
|
|
if(NOT Q_WS_X11)
|
|
|
|
set(PLASMA_NO_PACKAGEKIT TRUE)
|
|
|
|
endif(NOT Q_WS_X11)
|
|
|
|
|
2008-11-04 03:20:46 +01:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
2009-09-02 18:02:14 +02:00
|
|
|
${KDE4_KDECORE_INCLUDES}
|
|
|
|
${KDE4_KDEUI_INCLUDES}
|
2011-02-22 23:07:39 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative
|
2011-06-16 08:50:55 +02:00
|
|
|
${CMAKE_BINARY_DIR}/experimental/libkdeclarative
|
2011-10-31 21:44:37 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/threadweaver
|
2009-09-03 23:53:56 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/plasma/extenders
|
2009-09-03 23:10:33 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/plasma/remote
|
2009-09-02 04:27:16 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/plasma/private/qtjolie-branch/qtjolie
|
|
|
|
${CMAKE_SOURCE_DIR}/plasma/private/qtjolie-branch
|
|
|
|
${CMAKE_SOURCE_DIR}/plasma/private/qtjolie-branch/includes
|
|
|
|
)
|
|
|
|
|
2010-04-29 19:23:01 +02:00
|
|
|
if(NOT PLASMA_NO_KIO)
|
|
|
|
include_directories(${KDE4_KIO_INCLUDES})
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${KDE4_KIO_LIBS})
|
|
|
|
endif(NOT PLASMA_NO_KIO)
|
|
|
|
|
2010-04-29 07:57:34 +02:00
|
|
|
if(NOT PLASMA_NO_KDEWEBKIT)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/kdewebkit/)
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} kdewebkit)
|
|
|
|
endif(NOT PLASMA_NO_KDEWEBKIT)
|
|
|
|
|
|
|
|
if(NOT PLASMA_NO_KNEWSTUFF)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/knewstuff/)
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} knewstuff3)
|
|
|
|
endif(NOT PLASMA_NO_KNEWSTUFF)
|
|
|
|
|
|
|
|
if(NOT PLASMA_NO_SOLID)
|
|
|
|
include_directories(${CMAKE_BINARY_DIR}/solid/)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/solid/)
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${KDE4_SOLID_LIBS})
|
|
|
|
endif(NOT PLASMA_NO_SOLID)
|
|
|
|
|
2011-08-01 21:53:32 +02:00
|
|
|
if(NOT PLASMA_NO_PACKAGEKIT)
|
|
|
|
add_definitions(-DPLASMA_ENABLE_PACKAGEKIT_SUPPORT=1)
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${QT_QTDBUS_LIBRARY})
|
|
|
|
endif(NOT PLASMA_NO_PACKAGEKIT)
|
2011-11-16 13:45:44 +01:00
|
|
|
|
2011-11-03 11:06:05 +01:00
|
|
|
if (NOT PLASMA_NO_KUTILS)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/kutils)
|
|
|
|
set(PLASMA_EXTRA_LIBS ${PLASMA_EXTRA_LIBS} ${KDE4_KUTILS_LIBS})
|
|
|
|
endif(NOT PLASMA_NO_KUTILS)
|
2011-08-01 21:53:32 +02:00
|
|
|
|
2009-09-09 15:40:16 +02:00
|
|
|
if(QCA2_FOUND)
|
|
|
|
include_directories(${QCA2_INCLUDE_DIR})
|
|
|
|
set(ENABLE_REMOTE_WIDGETS TRUE)
|
|
|
|
endif(QCA2_FOUND)
|
2009-09-10 09:26:04 +02:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-plasma.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-plasma.h)
|
2009-09-02 04:27:16 +02:00
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
add_subdirectory(tests)
|
|
|
|
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1209)
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(plasmagik_SRCS
|
|
|
|
packagemetadata.cpp
|
|
|
|
packagestructure.cpp
|
|
|
|
package.cpp
|
|
|
|
)
|
|
|
|
|
2011-06-10 09:34:29 +02:00
|
|
|
#to make the Temporary solution to not link to libkdeclarative work, disable the exports of libkdeclarative
|
2011-06-10 13:31:35 +02:00
|
|
|
add_definitions(-DKDECLARATIVE_EXPORT=)
|
2011-06-10 09:34:29 +02:00
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
set(plasma_LIB_SRCS
|
|
|
|
${plasmagik_SRCS}
|
2009-09-04 10:58:34 +02:00
|
|
|
abstractrunner.cpp
|
2009-10-23 00:20:39 +02:00
|
|
|
abstracttoolbox.cpp
|
2009-10-21 03:50:37 +02:00
|
|
|
animator.cpp
|
2009-10-15 21:36:38 +02:00
|
|
|
animations/animation.cpp
|
2010-04-26 22:56:28 +02:00
|
|
|
animations/animationscriptengine.cpp
|
2010-04-30 00:29:26 +02:00
|
|
|
animations/bindings/animationgroup.cpp
|
2010-04-30 02:13:44 +02:00
|
|
|
animations/bindings/easingcurve.cpp
|
2010-04-30 00:29:26 +02:00
|
|
|
animations/easinganimation.cpp
|
2009-10-15 21:36:38 +02:00
|
|
|
animations/fade.cpp
|
|
|
|
animations/grow.cpp
|
2010-04-26 22:56:28 +02:00
|
|
|
animations/javascriptanimation.cpp
|
2010-04-30 00:29:26 +02:00
|
|
|
animations/pendulumcurve.cpp
|
2010-01-21 12:51:25 +01:00
|
|
|
animations/pixmaptransition.cpp
|
2009-10-15 21:36:38 +02:00
|
|
|
animations/pulser.cpp
|
2009-10-15 21:53:49 +02:00
|
|
|
animations/rotation.cpp
|
2009-10-22 22:17:07 +02:00
|
|
|
animations/rotationstacked.cpp
|
2010-04-30 00:29:26 +02:00
|
|
|
animations/slide.cpp
|
2009-10-22 22:17:07 +02:00
|
|
|
animations/stackedlayout.cpp
|
2009-12-08 10:22:51 +01:00
|
|
|
animations/geometry.cpp
|
2010-04-19 17:09:36 +02:00
|
|
|
animations/water.cpp
|
2010-04-30 00:29:26 +02:00
|
|
|
animations/widgetsnapshot.cpp
|
|
|
|
animations/zoom.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
applet.cpp
|
|
|
|
configloader.cpp
|
|
|
|
containment.cpp
|
2009-08-18 00:31:32 +02:00
|
|
|
containmentactions.cpp
|
2009-10-05 22:50:57 +02:00
|
|
|
containmentactionspluginsconfig.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
context.cpp
|
|
|
|
corona.cpp
|
|
|
|
datacontainer.cpp
|
|
|
|
dataengine.cpp
|
|
|
|
dataenginemanager.cpp
|
|
|
|
delegate.cpp
|
|
|
|
dialog.cpp
|
2010-04-03 21:10:32 +02:00
|
|
|
abstractdialogmanager.cpp
|
2009-09-03 23:53:56 +02:00
|
|
|
extenders/extender.cpp
|
|
|
|
extenders/extendergroup.cpp
|
|
|
|
extenders/extenderitem.cpp
|
2010-07-15 23:06:21 +02:00
|
|
|
pluginloader.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
paintutils.cpp
|
|
|
|
framesvg.cpp
|
|
|
|
plasma.cpp
|
|
|
|
popupapplet.cpp
|
2010-02-18 00:59:14 +01:00
|
|
|
private/animablegraphicswebview.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/applethandle.cpp
|
2009-09-16 19:08:45 +02:00
|
|
|
private/associatedapplicationmanager.cpp
|
2011-08-01 21:53:32 +02:00
|
|
|
private/componentinstaller.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/datacontainer_p.cpp
|
2011-04-30 12:43:01 +02:00
|
|
|
private/dataenginebindings.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
private/dataengineconsumer.cpp
|
|
|
|
private/dataengineservice.cpp
|
2009-09-03 23:10:33 +02:00
|
|
|
private/denyallauthorization.cpp
|
2012-11-14 20:50:52 +01:00
|
|
|
private/dialogshadows.cpp
|
2011-01-15 18:51:55 +01:00
|
|
|
private/effectwatcher.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/extenderapplet.cpp
|
2009-02-09 19:10:45 +01:00
|
|
|
private/extenderitemmimedata.cpp
|
2009-10-19 23:13:54 +02:00
|
|
|
private/focusindicator.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
private/getsource.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/nativetabbar.cpp
|
|
|
|
private/packages.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
private/pinpairingauthorization.cpp
|
|
|
|
private/pinpairingdialog.cpp
|
|
|
|
private/plasmoidservice.cpp
|
|
|
|
private/remotedataengine.cpp
|
2009-09-02 04:21:41 +02:00
|
|
|
private/remoteservice.cpp
|
|
|
|
private/remoteservicejob.cpp
|
2009-02-11 12:16:09 +01:00
|
|
|
private/runnerjobs.cpp
|
2009-09-02 04:21:41 +02:00
|
|
|
private/serviceprovider.cpp
|
2010-07-12 22:51:12 +02:00
|
|
|
private/storage.cpp
|
2011-04-28 17:51:51 +02:00
|
|
|
private/storagethread.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/style.cpp
|
2011-12-04 13:55:05 +01:00
|
|
|
private/themedwidgetinterface.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
private/trustedonlyauthorization.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/tooltip.cpp
|
2009-04-02 08:31:37 +02:00
|
|
|
private/wallpaperrenderthread.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
private/windowpreview.cpp
|
2009-09-17 18:24:19 +02:00
|
|
|
private/kineticscroll.cpp
|
2010-10-21 15:18:50 +02:00
|
|
|
private/declarative/declarativenetworkaccessmanagerfactory.cpp
|
2009-11-26 22:57:36 +01:00
|
|
|
private/effects/halopainter.cpp
|
2010-04-19 17:03:02 +02:00
|
|
|
private/effects/ripple.cpp
|
2009-09-04 10:58:34 +02:00
|
|
|
querymatch.cpp
|
2009-09-03 23:10:33 +02:00
|
|
|
remote/accessmanager.cpp
|
|
|
|
remote/accessappletjob.cpp
|
|
|
|
remote/authorizationinterface.cpp
|
|
|
|
remote/authorizationmanager.cpp
|
|
|
|
remote/authorizationrule.cpp
|
|
|
|
remote/clientpinrequest.cpp
|
|
|
|
remote/credentials.cpp
|
|
|
|
remote/serviceaccessjob.cpp
|
2009-09-04 10:58:34 +02:00
|
|
|
runnercontext.cpp
|
|
|
|
runnermanager.cpp
|
|
|
|
runnersyntax.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
scripting/appletscript.cpp
|
|
|
|
scripting/dataenginescript.cpp
|
|
|
|
scripting/runnerscript.cpp
|
2009-10-29 06:54:11 +01:00
|
|
|
scripting/wallpaperscript.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
scripting/scriptengine.cpp
|
|
|
|
service.cpp
|
|
|
|
servicejob.cpp
|
|
|
|
svg.cpp
|
|
|
|
theme.cpp
|
|
|
|
tooltipcontent.cpp
|
|
|
|
tooltipmanager.cpp
|
|
|
|
version.cpp
|
|
|
|
view.cpp
|
|
|
|
wallpaper.cpp
|
2009-07-26 20:58:27 +02:00
|
|
|
windoweffects.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/checkbox.cpp
|
|
|
|
widgets/combobox.cpp
|
2010-10-08 17:37:54 +02:00
|
|
|
widgets/declarativewidget.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/flashinglabel.cpp
|
|
|
|
widgets/frame.cpp
|
|
|
|
widgets/groupbox.cpp
|
|
|
|
widgets/iconwidget.cpp
|
2009-08-30 23:17:52 +02:00
|
|
|
widgets/itembackground.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/label.cpp
|
|
|
|
widgets/lineedit.cpp
|
|
|
|
widgets/meter.cpp
|
|
|
|
widgets/pushbutton.cpp
|
|
|
|
widgets/radiobutton.cpp
|
|
|
|
widgets/scrollbar.cpp
|
|
|
|
widgets/signalplotter.cpp
|
|
|
|
widgets/slider.cpp
|
2009-01-07 19:54:43 +01:00
|
|
|
widgets/spinbox.cpp
|
2008-11-11 10:30:05 +01:00
|
|
|
widgets/toolbutton.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/busywidget.cpp
|
2009-03-03 18:31:54 +01:00
|
|
|
widgets/scrollwidget.cpp
|
2009-08-30 13:28:34 +02:00
|
|
|
widgets/separator.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/svgwidget.cpp
|
|
|
|
widgets/tabbar.cpp
|
2009-03-03 18:38:16 +01:00
|
|
|
widgets/textbrowser.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/treeview.cpp
|
|
|
|
widgets/textedit.cpp
|
|
|
|
widgets/webview.cpp
|
2009-09-02 04:27:16 +02:00
|
|
|
|
|
|
|
#Temporary QtJolie branch
|
|
|
|
private/qtjolie-branch/qtjolie/abstractadaptor.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/client.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/clientthread.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/value.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/fault.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/message.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/metaservice.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/pendingcall.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/pendingcallwatcher.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/pendingreply.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/server.cpp
|
|
|
|
private/qtjolie-branch/qtjolie/serverthread.cpp
|
2011-06-08 15:40:06 +02:00
|
|
|
|
|
|
|
#Temporary solution to not link to libkdeclarative
|
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative/kdeclarative.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative/private/engineaccess.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative/private/kiconprovider.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative/bindings/qscriptnonguibookkeeping.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative/bindings/i18n.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative/bindings/icon.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/experimental/libkdeclarative/bindings/url.cpp
|
2008-11-04 00:08:39 +01:00
|
|
|
)
|
|
|
|
|
2010-11-04 09:06:31 +01:00
|
|
|
if(NOT KDE_NO_DEPRECATED)
|
|
|
|
set(plasma_LIB_SRCS
|
|
|
|
${plasma_LIB_SRCS}
|
|
|
|
deprecated/animationdriver.cpp
|
|
|
|
deprecated/animator.cpp
|
|
|
|
)
|
|
|
|
endif(NOT KDE_NO_DEPRECATED)
|
|
|
|
|
2009-10-07 20:44:33 +02:00
|
|
|
kde4_add_kcfg_files(plasma_LIB_SRCS data/kconfigxt/libplasma-theme-global.kcfgc)
|
|
|
|
|
2009-09-02 04:27:16 +02:00
|
|
|
kde4_add_ui_files(plasma_LIB_SRCS
|
|
|
|
private/pinpairing.ui
|
|
|
|
private/publish.ui)
|
2008-11-04 00:08:39 +01:00
|
|
|
#NEPOMUK_GENERATE_FROM_ONTOLOGY(
|
|
|
|
# nwc.nrl
|
|
|
|
# ${metadata_test_BINARY_DIR}
|
|
|
|
# TEST_HEADERS
|
|
|
|
# TEST_SOURCES
|
|
|
|
# TEST_INCLUDES
|
|
|
|
#)
|
|
|
|
|
2011-02-25 04:25:14 +01:00
|
|
|
if (QT_QTOPENGL_FOUND)
|
2008-11-12 23:56:18 +01:00
|
|
|
message(STATUS "Adding support for OpenGL applets to libplasma")
|
|
|
|
set(plasma_LIB_SRCS
|
|
|
|
${plasma_LIB_SRCS}
|
|
|
|
glapplet.cpp)
|
2011-02-25 04:25:14 +01:00
|
|
|
endif(QT_QTOPENGL_FOUND)
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2009-02-08 22:41:08 +01:00
|
|
|
if (PHONON_FOUND)
|
2009-02-20 09:41:56 +01:00
|
|
|
message(STATUS "Adding support for Phonon to libplasma")
|
2010-07-29 00:40:53 +02:00
|
|
|
include_directories(${KDE4_PHONON_INCLUDES})
|
2009-02-08 22:41:08 +01:00
|
|
|
set(plasma_LIB_SRCS
|
|
|
|
${plasma_LIB_SRCS}
|
|
|
|
widgets/videowidget.cpp)
|
|
|
|
endif(PHONON_FOUND)
|
|
|
|
|
2010-07-30 14:31:39 +02:00
|
|
|
kde4_add_library(plasma ${LIBRARY_TYPE} ${plasma_LIB_SRCS})
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2010-04-29 19:23:01 +02:00
|
|
|
target_link_libraries(plasma ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY}
|
2010-10-08 17:37:54 +02:00
|
|
|
${QT_QTSCRIPT_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY}
|
2011-11-03 11:06:05 +01:00
|
|
|
${KDE4_KDEUI_LIBS} ${KDE4_KDNSSD_LIBS} ${KDE4_THREADWEAVER_LIBS} ${PLASMA_EXTRA_LIBS})
|
2009-09-09 20:47:11 +02:00
|
|
|
|
|
|
|
if(QCA2_FOUND)
|
|
|
|
target_link_libraries(plasma ${QCA2_LIBRARIES})
|
|
|
|
endif(QCA2_FOUND)
|
|
|
|
|
2008-11-04 09:13:55 +01:00
|
|
|
if(X11_FOUND)
|
|
|
|
target_link_libraries(plasma ${X11_LIBRARIES})
|
|
|
|
endif(X11_FOUND)
|
|
|
|
|
2009-02-08 22:41:08 +01:00
|
|
|
if(PHONON_FOUND)
|
|
|
|
target_link_libraries(plasma ${KDE4_PHONON_LIBS})
|
|
|
|
endif(PHONON_FOUND)
|
2008-11-04 09:13:55 +01:00
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
if(DL_LIBRARY)
|
2008-11-12 23:56:18 +01:00
|
|
|
target_link_libraries(plasma ${DL_LIBRARY})
|
2008-11-04 00:08:39 +01:00
|
|
|
endif(DL_LIBRARY)
|
|
|
|
|
2011-02-25 04:25:14 +01:00
|
|
|
if(QT_QTOPENGL_FOUND)
|
|
|
|
target_link_libraries(plasma ${QT_QTOPENGL_LIBRARY})
|
|
|
|
endif(QT_QTOPENGL_FOUND)
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2008-11-11 00:52:13 +01:00
|
|
|
target_link_libraries(plasma LINK_INTERFACE_LIBRARIES kdeui kdecore ${QT_QTGUI_LIBRARY})
|
|
|
|
|
2008-11-04 00:29:54 +01:00
|
|
|
#do NOT use GENERIC versioning -- the plasma team will take care of versioning
|
2008-11-04 00:08:39 +01:00
|
|
|
set_target_properties(plasma PROPERTIES
|
|
|
|
VERSION 3.0.0
|
|
|
|
SOVERSION 3
|
|
|
|
)
|
|
|
|
|
2008-11-11 00:52:13 +01:00
|
|
|
install(TARGETS plasma EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
2008-11-04 00:08:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
set(plasmagik_HEADERS
|
|
|
|
packagemetadata.h
|
|
|
|
packagestructure.h
|
|
|
|
package.h
|
|
|
|
)
|
|
|
|
|
|
|
|
install(FILES ${plasmagik_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/ COMPONENT Devel)
|
|
|
|
|
|
|
|
set(plasma_LIB_INCLUDES
|
2010-04-03 21:10:32 +02:00
|
|
|
abstractdialogmanager.h
|
2009-09-04 10:58:34 +02:00
|
|
|
abstractrunner.h
|
2009-10-23 00:20:39 +02:00
|
|
|
abstracttoolbox.h
|
2009-10-15 21:36:38 +02:00
|
|
|
animations/animation.h
|
2008-11-04 00:08:39 +01:00
|
|
|
animator.h
|
|
|
|
applet.h
|
|
|
|
configloader.h
|
|
|
|
containment.h
|
2009-08-18 00:31:32 +02:00
|
|
|
containmentactions.h
|
2009-10-05 22:50:57 +02:00
|
|
|
containmentactionspluginsconfig.h
|
2008-11-04 00:08:39 +01:00
|
|
|
context.h
|
|
|
|
corona.h
|
|
|
|
datacontainer.h
|
|
|
|
dataengine.h
|
|
|
|
dataenginemanager.h
|
|
|
|
delegate.h
|
|
|
|
dialog.h
|
2009-09-03 23:53:56 +02:00
|
|
|
extenders/extender.h
|
|
|
|
extenders/extendergroup.h
|
|
|
|
extenders/extenderitem.h
|
2010-07-15 23:06:21 +02:00
|
|
|
pluginloader.h
|
2008-11-04 00:08:39 +01:00
|
|
|
paintutils.h
|
2009-07-26 20:58:27 +02:00
|
|
|
windoweffects.h
|
2008-11-04 00:08:39 +01:00
|
|
|
framesvg.h
|
|
|
|
plasma.h
|
|
|
|
plasma_export.h
|
|
|
|
popupapplet.h
|
2009-09-04 10:58:34 +02:00
|
|
|
querymatch.h
|
2009-09-03 23:10:33 +02:00
|
|
|
remote/accessappletjob.h
|
|
|
|
remote/accessmanager.h
|
|
|
|
remote/authorizationmanager.h
|
|
|
|
remote/authorizationrule.h
|
|
|
|
remote/authorizationinterface.h
|
|
|
|
remote/clientpinrequest.h
|
|
|
|
remote/credentials.h
|
|
|
|
remote/serviceaccessjob.h
|
2009-09-04 10:58:34 +02:00
|
|
|
runnercontext.h
|
|
|
|
runnermanager.h
|
|
|
|
runnersyntax.h
|
2008-11-04 00:08:39 +01:00
|
|
|
service.h
|
|
|
|
servicejob.h
|
|
|
|
svg.h
|
|
|
|
theme.h
|
|
|
|
tooltipcontent.h
|
|
|
|
tooltipmanager.h
|
|
|
|
version.h
|
|
|
|
view.h
|
|
|
|
wallpaper.h)
|
|
|
|
|
2010-11-04 09:06:31 +01:00
|
|
|
if(NOT KDE_NO_DEPRECATED)
|
|
|
|
set(plasma_LIB_INCLUDES
|
|
|
|
${plasma_LIB_INCLUDES}
|
|
|
|
animationdriver.h
|
|
|
|
)
|
|
|
|
endif(NOT KDE_NO_DEPRECATED)
|
|
|
|
|
|
|
|
|
2011-02-25 04:25:14 +01:00
|
|
|
if(QT_QTOPENGL_FOUND)
|
2008-11-12 23:56:18 +01:00
|
|
|
set(plasma_LIB_INCLUDES
|
|
|
|
${plasma_LIB_INCLUDES}
|
|
|
|
glapplet.h)
|
2011-02-25 04:25:14 +01:00
|
|
|
endif(QT_QTOPENGL_FOUND)
|
2008-11-04 00:08:39 +01:00
|
|
|
|
|
|
|
install(FILES
|
|
|
|
${plasma_LIB_INCLUDES}
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma COMPONENT Devel)
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
widgets/checkbox.h
|
|
|
|
widgets/combobox.h
|
2010-10-08 17:37:54 +02:00
|
|
|
widgets/declarativewidget.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/flashinglabel.h
|
|
|
|
widgets/frame.h
|
|
|
|
widgets/groupbox.h
|
|
|
|
widgets/iconwidget.h
|
2009-08-31 00:05:07 +02:00
|
|
|
widgets/itembackground.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/label.h
|
|
|
|
widgets/lineedit.h
|
|
|
|
widgets/meter.h
|
|
|
|
widgets/pushbutton.h
|
2008-11-11 10:30:05 +01:00
|
|
|
widgets/toolbutton.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/radiobutton.h
|
|
|
|
widgets/scrollbar.h
|
|
|
|
widgets/signalplotter.h
|
|
|
|
widgets/slider.h
|
2009-01-07 19:54:43 +01:00
|
|
|
widgets/spinbox.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/busywidget.h
|
2009-08-30 13:28:34 +02:00
|
|
|
widgets/separator.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/svgwidget.h
|
2009-03-03 18:31:54 +01:00
|
|
|
widgets/scrollwidget.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/tabbar.h
|
2009-03-03 18:38:16 +01:00
|
|
|
widgets/textbrowser.h
|
2008-11-04 00:08:39 +01:00
|
|
|
widgets/treeview.h
|
|
|
|
widgets/textedit.h
|
|
|
|
widgets/webview.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets COMPONENT Devel)
|
|
|
|
|
|
|
|
install(FILES
|
|
|
|
scripting/appletscript.h
|
|
|
|
scripting/dataenginescript.h
|
|
|
|
scripting/runnerscript.h
|
2009-10-29 06:54:11 +01:00
|
|
|
scripting/wallpaperscript.h
|
2008-11-04 00:08:39 +01:00
|
|
|
scripting/scriptengine.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/scripting COMPONENT Devel)
|
|
|
|
|
2009-02-08 22:54:31 +01:00
|
|
|
if(PHONON_FOUND)
|
|
|
|
install (FILES
|
|
|
|
widgets/videowidget.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets COMPONENT Devel)
|
|
|
|
endif(PHONON_FOUND)
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2009-10-15 21:36:38 +02:00
|
|
|
install(FILES
|
|
|
|
animations/animation.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/animations COMPONENT Devel)
|
|
|
|
|
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
install(FILES
|
2009-09-03 22:40:22 +02:00
|
|
|
data/servicetypes/plasma-animator.desktop
|
|
|
|
data/servicetypes/plasma-applet.desktop
|
|
|
|
data/servicetypes/plasma-applet-popupapplet.desktop
|
|
|
|
data/servicetypes/plasma-containment.desktop
|
|
|
|
data/servicetypes/plasma-containmentactions.desktop
|
|
|
|
data/servicetypes/plasma-dataengine.desktop
|
|
|
|
data/servicetypes/plasma-packagestructure.desktop
|
|
|
|
data/servicetypes/plasma-runner.desktop
|
|
|
|
data/servicetypes/plasma-scriptengine.desktop
|
2010-10-23 16:19:07 +02:00
|
|
|
data/servicetypes/plasma-service.desktop
|
2010-07-30 14:12:31 +02:00
|
|
|
data/servicetypes/plasma-toolbox.desktop
|
2009-09-03 22:40:22 +02:00
|
|
|
data/servicetypes/plasma-wallpaper.desktop
|
2008-11-04 00:08:39 +01:00
|
|
|
DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
|
|
|
|
|
|
|
install(FILES
|
2010-06-04 19:44:54 +02:00
|
|
|
data/services/plasma-applet-extenderapplet.desktop
|
2011-04-29 16:55:42 +02:00
|
|
|
data/services/plasma.protocol
|
2008-11-04 00:08:39 +01:00
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|
2009-09-03 22:40:22 +02:00
|
|
|
install(FILES data/knewstuff/plasmoids.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2009-09-03 22:40:22 +02:00
|
|
|
install(FILES data/operations/dataengineservice.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|
|
|
|
install(FILES data/operations/plasmoidservice.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|
2010-07-12 22:51:12 +02:00
|
|
|
install(FILES data/operations/storage.operations DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|
2009-09-02 11:45:52 +02:00
|
|
|
|