Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 1 | srcs_libdesktop = [ |
| 2 | 'libweston-desktop.c', |
| 3 | 'client.c', |
| 4 | 'seat.c', |
| 5 | 'surface.c', |
| 6 | 'xwayland.c', |
| 7 | 'wl-shell.c', |
ant8me | d8d9f5e | 2018-11-28 22:46:37 +0100 | [diff] [blame] | 8 | 'xdg-shell.c', |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 9 | 'xdg-shell-v6.c', |
| 10 | xdg_shell_unstable_v6_server_protocol_h, |
| 11 | xdg_shell_unstable_v6_protocol_c, |
ant8me | d8d9f5e | 2018-11-28 22:46:37 +0100 | [diff] [blame] | 12 | xdg_shell_server_protocol_h, |
| 13 | xdg_shell_protocol_c, |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 14 | ] |
| 15 | lib_desktop = shared_library( |
| 16 | 'weston-desktop-@0@'.format(libweston_major), |
| 17 | srcs_libdesktop, |
Pekka Paalanen | 4f5e360 | 2019-04-05 17:09:28 +0300 | [diff] [blame] | 18 | include_directories: common_inc, |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 19 | install: true, |
| 20 | version: '0.0.@0@'.format(libweston_revision), |
Pekka Paalanen | 71ff95a | 2019-04-18 16:43:55 +0300 | [diff] [blame] | 21 | dependencies: dep_libweston_public |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 22 | ) |
| 23 | dep_lib_desktop = declare_dependency( |
| 24 | link_with: lib_desktop, |
Pekka Paalanen | 71ff95a | 2019-04-18 16:43:55 +0300 | [diff] [blame] | 25 | dependencies: dep_libweston_public |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 26 | ) |
| 27 | |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 28 | pkgconfig.generate( |
Scott Anderson | f0d3197 | 2019-02-01 12:11:31 +1300 | [diff] [blame] | 29 | lib_desktop, |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 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', |
Daniel Stone | 8011b0f | 2016-11-24 15:54:51 +0000 | [diff] [blame] | 34 | requires_private: [ lib_weston, dep_wayland_server ], |
| 35 | subdirs: dir_include_libweston |
| 36 | ) |