source: mainline/uspace/app/barber/meson.build@ 1ef3213

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 1ef3213 was 1ef3213, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

Add tarball generator

  • Property mode set to 100644
File size: 1.6 KB
Line 
1deps = [ 'gui', 'draw', 'compress', 'softrend', 'math' ]
2
3_images = files(
4 'gfx/frame01.tga.gz',
5 'gfx/frame02.tga.gz',
6 'gfx/frame03.tga.gz',
7 'gfx/frame04.tga.gz',
8 'gfx/frame05.tga.gz',
9 'gfx/frame06.tga.gz',
10 'gfx/frame07.tga.gz',
11 'gfx/frame08.tga.gz',
12 'gfx/frame09.tga.gz',
13 'gfx/frame10.tga.gz',
14 'gfx/frame11.tga.gz',
15 'gfx/frame12.tga.gz',
16 'gfx/frame13.tga.gz',
17 'gfx/frame14.tga.gz',
18 'gfx/frame15.tga.gz',
19 'gfx/frame16.tga.gz',
20 'gfx/frame17.tga.gz',
21 'gfx/frame18.tga.gz',
22 'gfx/frame19.tga.gz',
23 'gfx/frame20.tga.gz',
24 'gfx/frame21.tga.gz',
25 'gfx/frame22.tga.gz',
26 'gfx/frame23.tga.gz',
27 'gfx/frame24.tga.gz',
28 'gfx/frame25.tga.gz',
29 'gfx/frame26.tga.gz',
30 'gfx/frame27.tga.gz',
31 'gfx/frame28.tga.gz',
32 'gfx/frame29.tga.gz',
33 'gfx/frame30.tga.gz',
34)
35
36_tarball = custom_target('barber_images.tar',
37 input: _images,
38 output: 'barber_images.tar',
39 command: tar,
40)
41
42# TODO
43
44_images_zip = custom_target('barber_images.zip',
45 input : _images,
46 output : [ 'images.zip' ],
47 command : [ mkarray, '@OUTDIR@', 'images', 'image', uspace_as_prolog, '.data', '@INPUT@' ],
48)
49_imgs_s = custom_target('barber_images.s',
50 input : _images_zip,
51 output : [ 'images.s' ],
52 command : [ unzip, '-p', '@INPUT@', 'images.s' ],
53 capture : true,
54)
55_imgs_h = custom_target('barber_images.h',
56 input : _images_zip,
57 output : [ 'images.h' ],
58 command : [ unzip, '-p', '@INPUT@', 'images.h' ],
59 capture : true,
60)
61_imgs_desc_c = custom_target('barber_images_desc.c',
62 input : _images_zip,
63 output : [ 'images_desc.c' ],
64 command : [ unzip, '-p', '@INPUT@', 'images_desc.c' ],
65 capture : true,
66)
67
68src = [ files('barber.c'), _imgs_s, _imgs_h, _imgs_desc_c ]
Note: See TracBrowser for help on using the repository browser.