summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-07-25 07:35:05 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-07-27 18:42:11 +0530
commiteadedc68f8ed7b8684ad7024712562c5d5491b07 (patch)
tree6c03e4d702893dabe072708cf289b65d4f6e0606 /sys
parentc2a7c938404a50306ef9c2048fc51c41d0c36b45 (diff)
downloadgst-plugins-base-eadedc68f8ed7b8684ad7024712562c5d5491b07.tar.gz
gst-plugins-base-eadedc68f8ed7b8684ad7024712562c5d5491b07.tar.xz
meson: Add feature options for all plugins
GL dependency detection is still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
Diffstat (limited to 'sys')
-rw-r--r--sys/meson.build2
-rw-r--r--sys/xvimage/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/meson.build b/sys/meson.build
index da6dc2400..7637c1c8e 100644
--- a/sys/meson.build
+++ b/sys/meson.build
@@ -1,7 +1,7 @@
if x11_dep.found()
# XShm is only used by ximage and xvimage
# FIXME: Need to check for XShmAttach inside libXext
- xshm_dep = dependency('xext', required : false)
+ xshm_dep = dependency('xext', required : get_option('xshm'))
core_conf.set('HAVE_XSHM', xshm_dep.found())
subdir('ximage')
diff --git a/sys/xvimage/meson.build b/sys/xvimage/meson.build
index 216c0ecf8..2f4864575 100644
--- a/sys/xvimage/meson.build
+++ b/sys/xvimage/meson.build
@@ -6,7 +6,7 @@ xvimage_sources = [
'xvimagesink.c',
]
-xvideo_dep = dependency('xv', required : false)
+xvideo_dep = dependency('xv', required : get_option('xvideo'))
core_conf.set('HAVE_XVIDEO', x11_dep.found() and xvideo_dep.found())
if xvideo_dep.found()