2016-11-24 18:54:51 +03:00
|
|
|
srcs_libdesktop = [
|
|
|
|
'libweston-desktop.c',
|
|
|
|
'client.c',
|
|
|
|
'seat.c',
|
|
|
|
'surface.c',
|
|
|
|
'xwayland.c',
|
|
|
|
'wl-shell.c',
|
2018-11-29 00:46:37 +03:00
|
|
|
'xdg-shell.c',
|
2016-11-24 18:54:51 +03:00
|
|
|
'xdg-shell-v6.c',
|
|
|
|
xdg_shell_unstable_v6_server_protocol_h,
|
|
|
|
xdg_shell_unstable_v6_protocol_c,
|
2018-11-29 00:46:37 +03:00
|
|
|
xdg_shell_server_protocol_h,
|
|
|
|
xdg_shell_protocol_c,
|
2016-11-24 18:54:51 +03:00
|
|
|
]
|
|
|
|
lib_desktop = shared_library(
|
|
|
|
'weston-desktop-@0@'.format(libweston_major),
|
|
|
|
srcs_libdesktop,
|
2019-04-05 17:09:28 +03:00
|
|
|
include_directories: common_inc,
|
2016-11-24 18:54:51 +03:00
|
|
|
install: true,
|
|
|
|
version: '0.0.@0@'.format(libweston_revision),
|
2019-04-18 16:43:55 +03:00
|
|
|
dependencies: dep_libweston_public
|
2016-11-24 18:54:51 +03:00
|
|
|
)
|
|
|
|
dep_lib_desktop = declare_dependency(
|
|
|
|
link_with: lib_desktop,
|
2019-04-18 16:43:55 +03:00
|
|
|
dependencies: dep_libweston_public
|
2016-11-24 18:54:51 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
pkgconfig.generate(
|
2019-02-01 02:11:31 +03:00
|
|
|
lib_desktop,
|
2016-11-24 18:54:51 +03:00
|
|
|
filebase: 'libweston-desktop-@0@'.format(libweston_major),
|
|
|
|
name: 'libweston-desktop',
|
|
|
|
version: version_weston,
|
|
|
|
description: 'Desktop shells abstraction library for libweston compositors',
|
|
|
|
requires_private: [ lib_weston, dep_wayland_server ],
|
|
|
|
subdirs: dir_include_libweston
|
|
|
|
)
|