File: meson.build

package info (click to toggle)
gnome-power-manager 3.32.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,764 kB
  • sloc: ansic: 2,709; xml: 55; makefile: 38; sh: 12
file content (22 lines) | stat: -rw-r--r-- 572 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
subdir('appdata')
subdir('icons')

compiled = gnome.compile_schemas()
install_data('org.gnome.power-manager.gschema.xml',
  install_dir : 'share/glib-2.0/schemas'
)

# replace @VERSION@
versionedfile = configure_file(
  input : 'org.gnome.PowerStats.desktop.in.in',
  output : 'org.gnome.PowerStats.desktop.in',
  configuration : conf
)
i18n.merge_file(
  input: versionedfile,
  output: 'org.gnome.PowerStats.desktop',
  type: 'desktop',
  po_dir: join_paths(meson.source_root(), 'po'),
  install: true,
  install_dir: join_paths(get_option('datadir'), 'applications')
)