It's not really useful to have libweston without libweston-desktop. It's also very little code. Merging both into the same DSO will allow us to cut out a bunch of indirection and pain. Signed-off-by: Daniel Stone <daniels@collabora.com>dev
parent
3ed3700ca3
commit
9336263d9b
@ -1,35 +0,0 @@ |
|||||||
srcs_libdesktop = [ |
|
||||||
'libweston-desktop.c', |
|
||||||
'client.c', |
|
||||||
'seat.c', |
|
||||||
'surface.c', |
|
||||||
'xwayland.c', |
|
||||||
'xdg-shell.c', |
|
||||||
'xdg-shell-v6.c', |
|
||||||
xdg_shell_unstable_v6_server_protocol_h, |
|
||||||
xdg_shell_unstable_v6_protocol_c, |
|
||||||
xdg_shell_server_protocol_h, |
|
||||||
xdg_shell_protocol_c, |
|
||||||
] |
|
||||||
lib_desktop = shared_library( |
|
||||||
'weston-desktop-@0@'.format(libweston_major), |
|
||||||
srcs_libdesktop, |
|
||||||
include_directories: common_inc, |
|
||||||
install: true, |
|
||||||
version: '0.0.@0@'.format(libweston_revision), |
|
||||||
dependencies: dep_libweston_public |
|
||||||
) |
|
||||||
dep_lib_desktop = declare_dependency( |
|
||||||
link_with: lib_desktop, |
|
||||||
dependencies: dep_libweston_public |
|
||||||
) |
|
||||||
|
|
||||||
pkgconfig.generate( |
|
||||||
lib_desktop, |
|
||||||
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 |
|
||||||
) |
|
@ -0,0 +1,16 @@ |
|||||||
|
srcs_libweston += files([ |
||||||
|
'libweston-desktop.c', |
||||||
|
'client.c', |
||||||
|
'seat.c', |
||||||
|
'surface.c', |
||||||
|
'xwayland.c', |
||||||
|
'xdg-shell.c', |
||||||
|
'xdg-shell-v6.c', |
||||||
|
]) |
||||||
|
|
||||||
|
srcs_libweston += [ |
||||||
|
xdg_shell_unstable_v6_server_protocol_h, |
||||||
|
xdg_shell_unstable_v6_protocol_c, |
||||||
|
xdg_shell_server_protocol_h, |
||||||
|
xdg_shell_protocol_c, |
||||||
|
] |
@ -1,5 +1,5 @@ |
|||||||
dep_shell_utils = declare_dependency( |
dep_shell_utils = declare_dependency( |
||||||
sources: 'shell-utils.c', |
sources: 'shell-utils.c', |
||||||
include_directories: include_directories('.'), |
include_directories: include_directories('.'), |
||||||
dependencies: dep_lib_desktop |
dependencies: dep_libweston_public, |
||||||
) |
) |
||||||
|
Loading…
Reference in new issue