Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-04-22 15:36:06 +0300
committerJan Beich <jbeich@FreeBSD.org>2023-04-22 15:58:29 +0300
commit8d6751c88d8a11680f89c232cef94ac918010871 (patch)
treef18170b51928e2d102ae76529ff7cf8b441c85f5 /meson.build
parent8e4fd2c1678cd29641d2a085eb7b2edd28232184 (diff)
gtk4: unbreak wayland, x11egl, x11glx features on non-Linux
As the features are non-default leave the responsibility to filter by platform to consumers. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1191>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build18
1 files changed, 8 insertions, 10 deletions
diff --git a/meson.build b/meson.build
index b1e8f04ac..c9a6f8d1a 100644
--- a/meson.build
+++ b/meson.build
@@ -252,17 +252,15 @@ if get_option('gtk4').allowed()
gtk4_features = []
gl_winsys = gst_gl_dep.get_variable('gl_winsys').split()
gl_platforms = gst_gl_dep.get_variable('gl_platforms').split()
- if host_system == 'linux'
- if 'wayland' in gl_winsys
- gtk4_features += 'wayland'
+ if 'wayland' in gl_winsys
+ gtk4_features += 'wayland'
+ endif
+ if 'x11' in gl_winsys
+ if 'egl' in gl_platforms
+ gtk4_features += 'x11egl'
endif
- if 'x11' in gl_winsys
- if 'egl' in gl_platforms
- gtk4_features += 'x11egl'
- endif
- if 'glx' in gl_platforms
- gtk4_features += 'x11glx'
- endif
+ if 'glx' in gl_platforms
+ gtk4_features += 'x11glx'
endif
endif
plugins += {'gtk4': {