backend-drm: build DRM virtual support when the pipewire plugin is enabled
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 15 Jul 2020 09:01:04 +0000 (11:01 +0200)
committerDaniel Stone <daniels@collabora.com>
Mon, 17 Aug 2020 10:12:54 +0000 (10:12 +0000)
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>
.gitlab-ci.yml
libweston/backend-drm/meson.build

index 02c38b964477e7ae12dcdd43540ccddee4a329e4..9c24dd80f785e7701c2301e02b6fb2effef1f244 100644 (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
 
index a7f629652a17ec6a63b44d86d964993282fcfa8f..8faedde97b1947ac3aa5f80cd693046bb040bf98 100644 (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