extensions,handlers: Add notification area support

notification-area.{c,h} are bare imports from the
wayland-notification-area project.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2016-05-07 12:19:45 +02:00
parent db8dacf76e
commit 5e969fd229
7 changed files with 305 additions and 0 deletions

View file

@ -22,12 +22,20 @@ WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock
swaylock
)
pkg_check_modules(WLC_NOTIFICATION_AREA "wayland-notification-area >= 3")
pkg_get_variable(WAYLAND_NOTIFICATION_AREA_PKGDATADIR wayland-notification-area pkgdatadir)
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-wayland-notification-area
${WAYLAND_NOTIFICATION_AREA_PKGDATADIR}/notification-area-unstable-v2.xml
notification-area-unstable-v2
)
add_library(sway-protocols STATIC
${proto-client-xdg-shell}
${proto-client-desktop-shell}
${proto-server-desktop-shell}
${proto-client-swaylock}
${proto-server-swaylock}
${proto-server-wayland-notification-area}
)
set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE)