-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
115 lines (97 loc) · 3.3 KB
/
meson.build
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
103
104
105
106
107
108
109
110
111
112
113
114
115
project('ycbcr-profiles', 'cpp',
version : 'v2022.02.11',
license : 'BSD-3-Clause',
default_options : ['warning_level=3', 'cpp_std=c++17'])
lcms2 = dependency('lcms2', version : '>=2.0.0')
commit = vcs_tag(command : ['git', 'describe', '--dirty'],
fallback: meson.project_version(),
input : 'version.h.in',
output :'version.h')
y_709_4 = executable('ycbcr_709_v4',
'ycbcr_709_v4.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD'],
install: false)
y_709_2 = executable('ycbcr_709_v2',
'ycbcr_709_v2.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD'],
install: false)
y_601_4 = executable('ycbcr_601_v4',
'ycbcr_601_v4.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD'],
install: false)
y_601_2 = executable('ycbcr_601_v2',
'ycbcr_601_v2.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD'],
install: false)
y_709_1886_2 = executable('ycbcr_709_1886_v2',
'ycbcr_709_v2.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD', '-DBT1886'],
install: false)
y_601_1886_2 = executable('ycbcr_601_1886_v2',
'ycbcr_601_v2.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD', '-DBT1886'],
install: false)
y_709_1886_4 = executable('ycbcr_709_1886_v4',
'ycbcr_709_v4.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD', '-DBT1886'],
install: false)
y_601_1886_4 = executable('ycbcr_601_1886_v4',
'ycbcr_601_v4.cpp',
dependencies: lcms2,
cpp_args: ['-DCMS_NO_REGISTER_KEYWORD', '-DBT1886'],
install: false)
custom_target('bt601_v2',
command: y_601_2,
output: ['bt601-7_ycbcr_v2.icc'],
install: true,
install_tag: 'ITU-R BT.601-7 v2',
install_dir: 'share/color/icc')
custom_target('bt601_bt1886_v2',
command: y_601_1886_2,
output: ['bt601-7_bt1886_ycbcr_v2.icc'],
install: true,
install_tag: 'ITU-R BT.601-7 + BT.1886 v2',
install_dir: 'share/color/icc')
custom_target('bt601_v4',
command: y_601_4,
output: ['bt601-7_ycbcr_v4.icc'],
install: true,
install_tag: 'ITU-R BT.601-7 v4',
install_dir: 'share/color/icc')
custom_target('bt601_bt1886_v4',
command: y_601_1886_4,
output: ['bt601-7_bt1886_ycbcr_v4.icc'],
install: true,
install_tag: 'ITU-R BT.601-7 + BT.1886 v4',
install_dir: 'share/color/icc')
custom_target('bt709_v2',
command: y_709_2,
output: ['bt709-6_ycbcr_v2.icc'],
install: true,
install_tag: 'ITU-R BT.709-6 v2',
install_dir: 'share/color/icc')
custom_target('bt709_bt1886_v2',
command: y_709_1886_2,
output: ['bt709-6_bt1886_ycbcr_v2.icc'],
install: true,
install_tag: 'ITU-R BT.709-6 + BT.1886 v2',
install_dir: 'share/color/icc')
custom_target('bt709_v4',
command: y_709_4,
output: ['bt709-6_ycbcr_v4.icc'],
install: true,
install_tag: 'ITU-R BT.709-6 v4',
install_dir: 'share/color/icc')
custom_target('bt709_bt1886_v4',
command: y_709_1886_4,
output: ['bt709-6_bt1886_ycbcr_v4.icc'],
install: true,
install_tag: 'ITU-R BT.709-6 + BT.1886 v4',
install_dir: 'share/color/icc')