1srcs_libdesktop = [ 2 'libweston-desktop.c', 3 'client.c', 4 'seat.c', 5 'surface.c', 6 'xwayland.c', 7 'wl-shell.c', 8 'xdg-shell.c', 9 'xdg-shell-v6.c', 10 xdg_shell_unstable_v6_server_protocol_h, 11 xdg_shell_unstable_v6_protocol_c, 12 xdg_shell_server_protocol_h, 13 xdg_shell_protocol_c, 14] 15lib_desktop = shared_library( 16 'weston-desktop-@0@'.format(libweston_major), 17 srcs_libdesktop, 18 include_directories: common_inc, 19 install: true, 20 version: '0.0.@0@'.format(libweston_revision), 21 dependencies: dep_libweston_public 22) 23dep_lib_desktop = declare_dependency( 24 link_with: lib_desktop, 25 dependencies: dep_libweston_public 26) 27 28pkgconfig.generate( 29 lib_desktop, 30 filebase: 'libweston-desktop-@0@'.format(libweston_major), 31 name: 'libweston-desktop', 32 version: version_weston, 33 description: 'Desktop shells abstraction library for libweston compositors', 34 requires_private: [ lib_weston, dep_wayland_server ], 35 subdirs: dir_include_libweston 36) 37