mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00

reference: https://github.com/fluxer/katana/issues/7 Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
71 lines
2.2 KiB
CMake
71 lines
2.2 KiB
CMake
project(kdeplasma-addons)
|
|
|
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
|
find_package(KDE4 4.19.0 REQUIRED)
|
|
include(KDE4Defaults)
|
|
include_directories(${KDE4_INCLUDES})
|
|
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
endif()
|
|
|
|
macro_optional_find_package(KDE4Workspace)
|
|
set_package_properties(KDE4Workspace PROPERTIES
|
|
DESCRIPTION "KDE base workspace libraries"
|
|
URL "http://fluxer.github.io/katana/"
|
|
PURPOSE "Needed for building several Plasma plugins"
|
|
)
|
|
|
|
macro_optional_find_package(OpenGL)
|
|
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"
|
|
)
|
|
|
|
macro_optional_find_package(Marble)
|
|
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"
|
|
)
|
|
|
|
macro_optional_find_package(DBusMenuQt)
|
|
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"
|
|
)
|
|
|
|
macro_optional_find_package(Qalculate)
|
|
set_package_properties(Qalculate PROPERTIES
|
|
DESCRIPTION "Qalculate Library"
|
|
URL "http://qalculate.sourceforge.net/"
|
|
PURPOSE "Needed for building the Qalculate plasma applet"
|
|
)
|
|
|
|
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"
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/libs
|
|
)
|
|
|
|
add_subdirectory(libs)
|
|
add_subdirectory(applets)
|
|
add_subdirectory(dataengines)
|
|
add_subdirectory(runners)
|
|
add_subdirectory(wallpapers)
|
|
add_subdirectory(containments)
|
|
|