backend-drm: build DRM virtual support when the pipewire plugin is enabled

The pipewire plugin uses this API as well, not just the remoting plugin. So
enable it if either is enabled.

And disable pipewire in the no-gl-renderer CI build. The virtual outputs don't
work without it.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This commit is contained in:
Michael Olbrich 2020-07-15 11:01:04 +02:00 committed by Daniel Stone
parent 4a378afa3b
commit 27fb564a19
2 changed files with 2 additions and 1 deletions

View File

@ -92,6 +92,7 @@ build-native-meson-no-gl-renderer:
-Dsimple-clients=damage,im,shm,touch,dmabuf-v4l
-Drenderer-gl=false
-Dremoting=false
-Dpipewire=false
-Dwerror=true
extends: .build-native-meson

View File

@ -71,7 +71,7 @@ if get_option('backend-drm-screencast-vaapi')
config_h.set('BUILD_VAAPI_RECORDER', '1')
endif
if get_option('remoting')
if get_option('remoting') or get_option('pipewire')
if not get_option('renderer-gl')
warning('DRM virtual requires renderer-gl.')
endif