File: meson.build

package info (click to toggle)
gnome-shell-extensions 48.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,232 kB
  • sloc: javascript: 4,676; xml: 132; python: 43; sh: 35; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (2)
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
# SPDX-FileCopyrightText: 2017 Florian Müllner <fmuellner@gnome.org>
#
# SPDX-License-Identifier: GPL-2.0-or-later

extension_schemas = []
js_sources = []

metadata_name = 'metadata.json'

foreach e : enabled_extensions
  uuid = e + uuid_suffix

  metadata_conf = configuration_data()
  metadata_conf.set('extension_id', e)
  metadata_conf.set('uuid', uuid)
  metadata_conf.set('gschemaname', 'org.gnome.shell.extensions.' + e)
  metadata_conf.set('gettext_domain', gettext_domain)
  metadata_conf.set('shell_current', shell_version)
  metadata_conf.set(
    'url',
    'https://gitlab.gnome.org/GNOME/gnome-shell-extensions',
  )

  extension_sources = files(e + '/extension.js')
  extension_data = []

  subdir(e)

  install_data(
    extension_sources + extension_data,
    install_dir: join_paths(extensiondir, uuid),
  )
endforeach

install_data(extension_schemas, install_dir: schemadir)