2015-01-15 17:07:43 +00:00
|
|
|
project(kdeplasma-addons)
|
|
|
|
|
2016-04-03 19:34:46 +00:00
|
|
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
2020-02-10 21:58:43 +00:00
|
|
|
find_package(KDE4 4.19.0 REQUIRED)
|
2016-04-06 12:26:19 +00:00
|
|
|
include(KDE4Defaults)
|
2016-04-03 19:34:46 +00:00
|
|
|
include_directories(${KDE4_INCLUDES})
|
|
|
|
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
|
|
endif()
|
|
|
|
|
2015-01-15 17:07:43 +00:00
|
|
|
macro_optional_find_package(KDE4Workspace)
|
2020-02-20 23:33:47 +02:00
|
|
|
set_package_properties(KDE4Workspace PROPERTIES
|
|
|
|
DESCRIPTION "KDE base workspace libraries"
|
|
|
|
URL "http://fluxer.github.io/katana/"
|
|
|
|
PURPOSE "Needed for building several Plasma plugins"
|
2020-02-19 16:53:05 +00:00
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
macro_optional_find_package(OpenGL)
|
2020-02-20 23:33:47 +02:00
|
|
|
set_package_properties(OpenGL PROPERTIES
|
|
|
|
DESCRIPTION "API for developing portable, interactive 2D and 3D graphics applications"
|
|
|
|
URL "http://mesa3d.sourceforge.net"
|
|
|
|
PURPOSE "Used in applications ranging from graphics and modellers to screensavers and video players"
|
2020-02-19 16:53:05 +00:00
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
2015-10-29 08:51:30 +02:00
|
|
|
macro_optional_find_package(Marble)
|
2020-02-20 23:33:47 +02:00
|
|
|
set_package_properties(Marble PROPERTIES
|
|
|
|
DESCRIPTION "Desktop Globe"
|
|
|
|
URL "http://marble.kde.org"
|
|
|
|
PURPOSE "Marble is used to provide a desktop globe wallpaper for Plasma"
|
2020-02-19 16:53:05 +00:00
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
macro_optional_find_package(DBusMenuQt)
|
2020-02-20 23:33:47 +02:00
|
|
|
set_package_properties(DBusMenuQt PROPERTIES
|
|
|
|
DESCRIPTION "Library that provides a Qt implementation of the DBusMenu spec"
|
|
|
|
URL "https://github.com/fluxer/libdbusmenu-qt"
|
|
|
|
PURPOSE "Needed for Unity support in IconTasks"
|
2020-02-19 16:53:05 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(Qalculate)
|
2020-02-20 23:33:47 +02:00
|
|
|
set_package_properties(Qalculate PROPERTIES
|
|
|
|
DESCRIPTION "Qalculate Library"
|
|
|
|
URL "http://qalculate.sourceforge.net/"
|
|
|
|
PURPOSE "Needed for building the Qalculate plasma applet"
|
2020-02-19 16:53:05 +00:00
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
2021-03-26 21:58:25 +02:00
|
|
|
macro_optional_find_package(IBus 1.1.0)
|
|
|
|
set_package_properties(IBus PROPERTIES
|
|
|
|
DESCRIPTION "Intelligent Input Bus for Linux/Unix"
|
|
|
|
URL "https://github.com/ibus/ibus"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Required by input method Plasma appelt"
|
|
|
|
)
|
|
|
|
|
|
|
|
macro_optional_find_package(SCIM)
|
|
|
|
set_package_properties(SCIM PROPERTIES
|
|
|
|
DESCRIPTION "Smart Common Input Method platform"
|
|
|
|
URL "https://github.com/scim-im/scim"
|
|
|
|
TYPE OPTIONAL
|
|
|
|
PURPOSE "Required by input method Plasma appelt"
|
|
|
|
)
|
|
|
|
|
2020-02-07 02:14:07 +00:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/libs
|
|
|
|
)
|
2015-01-15 17:07:43 +00:00
|
|
|
|
|
|
|
add_subdirectory(libs)
|
|
|
|
add_subdirectory(applets)
|
|
|
|
add_subdirectory(dataengines)
|
|
|
|
add_subdirectory(runners)
|
|
|
|
add_subdirectory(wallpapers)
|
|
|
|
add_subdirectory(containments)
|
|
|
|
|