source: mainline/uspace/app/aboutos/meson.build

Last change on this file was 211fd68, checked in by Jiri Svoboda <jiri@…>, 17 months ago

Add text mode support to Barber

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[c21d4d6]1#
[e229148]2# Copyright (c) 2024 Jiri Svoboda
[c21d4d6]3# Copyright (c) 2012 Petr Koupy
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9#
10# - Redistributions of source code must retain the above copyright
11# notice, this list of conditions and the following disclaimer.
12# - Redistributions in binary form must reproduce the above copyright
13# notice, this list of conditions and the following disclaimer in the
14# documentation and/or other materials provided with the distribution.
15# - The name of the author may not be used to endorse or promote products
16# derived from this software without specific prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29
[0576df9]30deps = [ 'gfximage', 'ui' ]
[5fd05862]31
32_images = files('gfx/helenos.tga')
33
[e229148]34_images_zip = custom_target('aboutos_images.zip',
[5fd05862]35 input : _images,
36 output : [ 'images.zip' ],
[211fd68]37 command : [ mkarray, '@OUTDIR@', 'images', 'image', 'image', uspace_as_prolog, '.data', '@INPUT@' ],
[5fd05862]38)
[e229148]39_imgs_s = custom_target('aboutos_images.s',
[5fd05862]40 input : _images_zip,
41 output : [ 'images.s' ],
42 command : [ unzip, '-p', '@INPUT@', 'images.s' ],
43 capture : true,
44)
[e229148]45_imgs_h = custom_target('aboutos_images.h',
[5fd05862]46 input : _images_zip,
47 output : [ 'images.h' ],
48 command : [ unzip, '-p', '@INPUT@', 'images.h' ],
49 capture : true,
50)
[e229148]51_imgs_desc_c = custom_target('aboutos_images_desc.c',
[5fd05862]52 input : _images_zip,
53 output : [ 'images_desc.c' ],
54 command : [ unzip, '-p', '@INPUT@', 'images_desc.c' ],
55 capture : true,
56)
57
[e229148]58c_args += [ '-DHELENOS_RELEASE=' + HELENOS_RELEASE, '-DHELENOS_COPYRIGHT=' + HELENOS_COPYRIGHT, '-DHELENOS_CODENAME=' + HELENOS_CODENAME ]
59src = [ files('aboutos.c'), _imgs_s, _imgs_h, _imgs_desc_c ]
Note: See TracBrowser for help on using the repository browser.