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>
dev
Michael Olbrich 5 years ago committed by Daniel Stone
parent 4a378afa3b
commit 27fb564a19
  1. 1
      .gitlab-ci.yml
  2. 2
      libweston/backend-drm/meson.build

@ -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

@ -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

Loading…
Cancel
Save