forked from pygame-community/pygame-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
43 lines (39 loc) · 912 Bytes
/
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
# pure python sources
python_sources = files(
'__init__.py',
'_camera_opencv.py',
'_data_classes.py',
'_debug.py',
'_sprite.py',
'camera.py',
'colordict.py',
'cursors.py',
'freetype.py',
'ftfont.py',
'locals.py',
'macosx.py',
'midi.py',
'pkgdata.py',
'sndarray.py',
'sprite.py',
'surfarray.py',
'sysfont.py',
'typing.py',
'version.py',
)
py.install_sources(python_sources, subdir: pg)
# if not building font, install use ftfont for font.py
if not sdl_ttf_dep.found() and freetype_dep.found()
py.install_sources('ftfont.py', subdir: pg, rename: 'font.py')
endif
data_files = files(
'freesansbold.ttf',
'pygame_icon.bmp',
)
if plat == 'mac'
data_files += 'pygame_icon_mac.bmp'
endif
install_data(data_files, install_dir: pg_dir, install_tag: 'pg-tag')
subdir('_sdl2')
subdir('__pyinstaller')
subdir('__briefcase')