packaging: Remove libkms
[platform/upstream/libdrm.git] / meson_options.txt
1 # Copyright © 2017 Intel Corporation
2
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to deal
5 # in the Software without restriction, including without limitation the rights
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 # copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
9
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
12
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 # SOFTWARE.
20
21 option(
22   'intel',
23   type : 'feature',
24   description : '''Enable support for Intel's KMS API.''',
25 )
26 option(
27   'radeon',
28   type : 'feature',
29   description : '''Enable support for radeons's KMS API.''',
30 )
31 option(
32   'amdgpu',
33   type : 'feature',
34   description : '''Enable support for amdgpu's KMS API.''',
35 )
36 option(
37   'nouveau',
38   type : 'feature',
39   description : '''Enable support for nouveau's KMS API.''',
40 )
41 option(
42   'vmwgfx',
43   type : 'feature',
44   description : '''Enable support for vmgfx's KMS API.''',
45 )
46 option(
47   'omap',
48   type : 'feature',
49   value : 'disabled',
50   description : '''Enable support for OMAP's experimental KMS API.''',
51 )
52 option(
53   'exynos',
54   type : 'feature',
55   value : 'disabled',
56   description : '''Enable support for EXYNOS's experimental KMS API.''',
57 )
58 option(
59   'vigs',
60   type : 'combo',
61   value : 'false',
62   choices : ['true', 'false', 'auto'],
63   description : '''Enable support for VIGS's experimental KMS API.''',
64 )
65 option(
66   'nexell',
67   type : 'combo',
68   value : 'false',
69   choices : ['true', 'false', 'auto'],
70   description : '''Enable support for NEXELL's experimental KMS API.''',
71 )
72 option(
73   'freedreno',
74   type : 'feature',
75   description : '''Enable support for freedreno's KMS API.''',
76 )
77 option(
78   'tegra',
79   type : 'feature',
80   value : 'disabled',
81   description : '''Enable support for Tegra's experimental KMS API.''',
82 )
83 option(
84   'vc4',
85   type : 'feature',
86   description : '''Enable support for vc4's KMS API.''',
87 )
88 option(
89   'etnaviv',
90   type : 'feature',
91   description : '''Enable support for etnaviv's KMS API.''',
92 )
93 option(
94   'cairo-tests',
95   type : 'feature',
96   description : 'Enable support for Cairo rendering in tests.',
97 )
98 option(
99   'man-pages',
100   type : 'feature',
101   description : 'Enable manpage generation and installation.',
102 )
103 option(
104   'valgrind',
105   type : 'feature',
106   description : 'Build libdrm with valgrind support.',
107 )
108 option(
109   'freedreno-kgsl',
110   type : 'boolean',
111   value : false,
112   description : 'Enable support for freedreno to use downstream android kernel API.',
113 )
114 option(
115   'install-test-programs',
116   type : 'boolean',
117   value : false,
118   description : 'Install test programs.',
119 )
120 option(
121   'udev',
122   type : 'boolean',
123   value : false,
124   description : 'Enable support for using udev instead of mknod.',
125 )
126 option(
127   'tests',
128   type : 'boolean',
129   value : true,
130   description : 'Build test programs.',
131 )