File: meson.build

package info (click to toggle)
gnome-packagekit 3.30.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,516 kB
  • sloc: ansic: 8,550; xml: 129; python: 89; sh: 74; makefile: 23
file content (29 lines) | stat: -rw-r--r-- 715 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
subdir('appdata')
subdir('icons')

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

install_data('org.gnome.packagekit.gschema.migrate',
  install_dir : 'share/GConf/gsettings'
)

desktop_files = [
  'gpk-install-local-file.desktop',
  'gpk-log.desktop',
  'gpk-prefs.desktop',
  'org.gnome.Packages.desktop',
  'org.gnome.PackageUpdater.desktop'
]
foreach desktop_file: desktop_files
  i18n.merge_file(
    input: desktop_file + '.in',
    output: desktop_file,
    type: 'desktop',
    po_dir: join_paths(meson.source_root(), 'po'),
    install: true,
    install_dir: join_paths(get_option('datadir'), 'applications')
  )
endforeach