desktop-shell: allow setting the work area calculation function from the API

2 jobs for master in 1 minute and 58 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
failed #79134
build-native-autotools

00:01:47

failed #79135
build-native-meson

00:01:58

 
Name Stage Failure
failed
build-native-autotools Build
and LIBEVDEV_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Uploading artifacts...
WARNING: build-*/weston-*.tar.xz: no matching files
build-*/*.log: found 1 matching files

WARNING: build-*/logs: no matching files
prefix-*: found 54 matching files

Uploading artifacts to coordinator... ok
id=79134 responseStatus=201 Created token=WYvmQENT
ERROR: Job failed: exit code 1
failed
build-native-meson Build

meson.build:150:0: ERROR: Dependency "libevdev" not found, tried pkgconfig

A full log can be found at /builds/myfreeweb/weston/build-weston-ade72ed88f4ef043ce27480fc1c921547f9ca4c6-79135/meson-logs/meson-log.txt
Uploading artifacts...
WARNING: build-meson/meson-logs: no matching files
prefix-*: found 54 matching files

Uploading artifacts to coordinator... ok
id=79135 responseStatus=201 Created token=bFHKBWY1
ERROR: Job failed: exit code 1