Debian Codegraph @

extensions/meson.build

raw
1 # SPDX-FileCopyrightText: 2017 Florian Müllner <[email protected]>
2 #
3 # SPDX-License-Identifier: GPL-2.0-or-later
4
5 extension_schemas = []
6 js_sources = []
7
8 metadata_name = 'metadata.json'
9
10 foreach e : enabled_extensions
11 uuid = e + uuid_suffix
12
13 metadata_conf = configuration_data()
14 metadata_conf.set('uuid', uuid)
15 metadata_conf.set('gschemaname', 'org.gnome.shell.extensions.' + e)
16 metadata_conf.set('gettext_domain', gettext_domain)
17 metadata_conf.set('shell_current', shell_version)
18 metadata_conf.set('version', meson.project_version())
19 metadata_conf.set(
20 'url',
21 'https://gitlab.gnome.org/GNOME/gnome-shell-extensions',
22 )
23
24 extension_sources = files(e + '/extension.js')
25 extension_data = []
26
27 subdir(e)
28
29 install_data(
30 extension_sources + extension_data,
31 install_dir: join_paths(extensiondir, uuid),
32 )
33 endforeach
34
35 install_data(extension_schemas, install_dir: schemadir)