mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-25 11:22:52 +00:00

now with separate options for screen and sleep power management suppression as well as being able to select which battery to show information (including icon) for in the tray: https://ibb.co/DDC01rh the battery icon is questionably bigger than it should be, have to test it with battery that is recognizable still (PS3 controller battery provides only capacity and status info) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
30 lines
617 B
CMake
30 lines
617 B
CMake
project(plasma-applet-calendar)
|
|
|
|
include_directories(
|
|
# for plasmaclock_export.h
|
|
${CMAKE_BINARY_DIR}/libs/plasmaclock
|
|
)
|
|
|
|
set(calendar_SRCS
|
|
calendar.cpp
|
|
)
|
|
|
|
kde4_add_plugin(plasma_applet_calendar ${calendar_SRCS})
|
|
target_link_libraries(plasma_applet_calendar
|
|
KDE4::plasma
|
|
KDE4::kio
|
|
plasmaclock
|
|
)
|
|
|
|
install(
|
|
TARGETS plasma_applet_calendar
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
)
|
|
install(
|
|
FILES plasma-applet-calendar.desktop
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
)
|
|
install(
|
|
FILES mini-calendar.svgz
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/desktoptheme/default/calendar/
|
|
)
|