examples: Disable existing examples

These examples will stop working with the following API changes. Updated
examples may be re-enabled again later.
This commit is contained in:
Benjamin Berg
2019-07-03 23:47:35 +02:00
committed by Marco Trevisan (Treviño)
parent 7fed33fb49
commit 059fc5ef7d
3 changed files with 23 additions and 27 deletions

View File

@@ -112,13 +112,13 @@ if get_option('udev_rules')
endif
endif
if get_option('x11-examples')
x11_dep = cc.find_library('X11')
xv_dep = dependency('xv', required: false)
if not xv_dep.found()
error('XV is required for X11 examples')
endif
endif
# if get_option('x11-examples')
# x11_dep = cc.find_library('X11')
# xv_dep = dependency('xv', required: false)
# if not xv_dep.found()
# error('XV is required for X11 examples')
# endif
# endif
if get_option('gtk-examples')
gnome = import('gnome')