summaryrefslogtreecommitdiff
path: root/tests/examples
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples')
-rw-r--r--tests/examples/gl/meson.build7
-rw-r--r--tests/examples/gl/sdl/meson.build16
-rw-r--r--tests/examples/meson.build2
3 files changed, 24 insertions, 1 deletions
diff --git a/tests/examples/gl/meson.build b/tests/examples/gl/meson.build
new file mode 100644
index 000000000..a1f4889fa
--- /dev/null
+++ b/tests/examples/gl/meson.build
@@ -0,0 +1,7 @@
+# FIXME - Add other missing examples!
+#subdir('clutter')
+#subdir('cocoa')
+#subdir('generic')
+#subdir('gtk')
+#subdir('qt')
+subdir('sdl')
diff --git a/tests/examples/gl/sdl/meson.build b/tests/examples/gl/sdl/meson.build
new file mode 100644
index 000000000..8285f87f1
--- /dev/null
+++ b/tests/examples/gl/sdl/meson.build
@@ -0,0 +1,16 @@
+sdl_dep = dependency('sdl', version : '>=1.2.0', required : false)
+if sdl_dep.found() and build_gstgl
+ executable('sdlshare',
+ 'sdlshare.c',
+ install: false,
+ dependencies : [gstbase_dep, gstgl_dep, sdl_dep, gl_dep],
+ c_args : ['-DGST_USE_UNSTABLE_API', ],
+ )
+
+ executable('sdlshare2',
+ 'sdlshare2.c',
+ install: false,
+ dependencies : [gstbase_dep, gstgl_dep, sdl_dep, gl_dep],
+ c_args : ['-DGST_USE_UNSTABLE_API', ],
+)
+endif
diff --git a/tests/examples/meson.build b/tests/examples/meson.build
index 4c6e83b62..838624807 100644
--- a/tests/examples/meson.build
+++ b/tests/examples/meson.build
@@ -5,7 +5,7 @@
#subdir('codecparsers')
subdir('compositor')
#subdir('directfb')
-#subdir('gl')
+subdir('gl')
#subdir('gtk')
#subdir('ipcpipeline')
subdir('mpegts')