summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1-plugins-bad/files/patch-tests_examples_meson.build
blob: a70c96809497d1faa0c9e5c33291748832208d5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
--- tests/examples/meson.build.orig	2025-03-11 20:14:44 UTC
+++ tests/examples/meson.build
@@ -1,27 +1,75 @@
-subdir('audiomixmatrix')
-subdir('avsamplesink')
-subdir('camerabin2')
-subdir('codecparsers')
-subdir('codecs')
-subdir('cuda')
-subdir('d3d11')
-subdir('d3d12')
-subdir('directfb')
-subdir('gtk')
-subdir('ipcpipeline')
-subdir('mediafoundation')
-subdir('mpegts')
-subdir('msdk')
-subdir('mxf')
-subdir('nvcodec')
-subdir('opencv', if_found: opencv_dep)
-subdir('qsv')
-subdir('qt6d3d11')
-subdir('uvch264')
-subdir('va')
-subdir('waylandsink')
-subdir('webrtc')
-subdir('wpe')
+if get_option('audiomixmatrix').enabled()
+  subdir('audiomixmatrix')
+endif
+if get_option('applemedia').enabled()
+  subdir('avsamplesink')
+endif
+if get_option('camerabin2').enabled() and use_wayland
+  subdir('camerabin2', if_found: gtk_dep)
+endif
+if get_option('codecparsers').enabled()
+  subdir('codecparsers')
+endif
+if get_option('codecs').enabled()
+  subdir('codecs')
+endif
+if get_option('cuda').enabled()
+  subdir('cuda')
+endif
+if get_option('d3d11').enabled()
+  subdir('d3d11')
+endif
+if get_option('d3d12').enabled()
+  subdir('d3d12')
+endif
+if get_option('directfb').enabled()
+  subdir('directfb')
+endif
+if get_option('gtk3').enabled()
+  subdir('gtk')
+endif
+if get_option('ipcpipeline').enabled()
+  subdir('ipcpipeline')
+endif
+if get_option('mediafoundation').enabled()
+  subdir('mediafoundation')
+endif
+if get_option('mpegts').enabled()
+  subdir('mpegts')
+endif
+if get_option('msdk').enabled()
+  subdir('msdk')
+endif
+if get_option('mxf').enabled() and use_wayland
+  subdir('mxf', if_found: gtk_dep)
+endif
+if get_option('nvcodec').enabled()
+  subdir('nvcodec')
+endif
+if get_option('opencv').enabled()
+  subdir('opencv', if_found: opencv_dep)
+endif
+if get_option('qsv').enabled()
+  subdir('qsv')
+endif
+if get_option('qt6d3d11').enabled()
+  subdir('qt6d3d11')
+endif
+if get_option('uvch264').enabled()
+  subdir('uvch264')
+endif
+if get_option('va').enabled()
+  subdir('va')
+endif
+if get_option('wayland').enabled()
+  subdir('waylandsink')
+endif
+if get_option('webrtc').enabled()
+  subdir('webrtc')
+endif
+if get_option('wpe').enabled()
+  subdir('wpe')
+endif
 
 executable('playout',
   'playout.c',