summaryrefslogtreecommitdiff
path: root/meson.build
blob: 3c6064047cf366d24ae76f6c559e0d4f3cd1b45a (plain)
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
project('xbitmaps',
        version: '1.1.3',
        meson_version: '>= 0.49.0',
        license: 'MIT'
)

pc_conf = configuration_data({
    'prefix': get_option('prefix'),
    'exec_prefix': '${prefix}',
    'includedir': '${prefix}' / get_option('includedir'),
    'PACKAGE_VERSION': meson.project_version()
})
configure_file(input: 'xbitmaps.pc.in',
               output: 'xbitmaps.pc',
               install_dir: get_option('datadir') / 'pkgconfig',
               configuration : pc_conf)

bitmap_files = [
  '1x1',
  '2x2',
  'black',
  'black6',
  'boxes',
  'box6',
  'calculator',
  'cntr_ptr',
  'cntr_ptrmsk',
  'cross_weave',
  'dimple1',
  'dimple3',
  'dot',
  'dropbar7',
  'dropbar8',
  'escherknot',
  'flagdown',
  'flagup',
  'flipped_gray',
  'gray',
  'gray1',
  'gray3',
  'grid16',
  'grid2',
  'grid4',
  'grid8',
  'hlines2',
  'hlines3',
  'icon',
  'keyboard16',
  'left_ptr',
  'left_ptrmsk',
  'letters',
  'light_gray',
  'mailempty',
  'mailemptymsk',
  'mailfull',
  'mailfullmsk',
  'mensetmanus',
  'menu10',
  'menu12',
  'menu16',
  'menu6',
  'menu8',
  'noletters',
  'opendot',
  'opendotMask',
  'plaid',
  'right_ptr',
  'right_ptrmsk',
  'root_weave',
  'scales',
  'sipb',
  'star',
  'starMask',
  'stipple',
  'target',
  'terminal',
  'tie_fighter',
  'vlines2',
  'vlines3',
  'weird_size',
  'wide_weave',
  'wingdogs',
  'woman',
  'xfd_icon',
  'xlogo11',
  'xlogo16',
  'xlogo32',
  'xlogo64',
  'xsnow'
]

install_headers(bitmap_files,
                subdir: 'X11' / 'bitmaps')