mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Translate desktop file
This commit is contained in:
@ -6,10 +6,6 @@ install_data('sysprof-mime.xml',
|
||||
install_dir: join_paths(datadir, 'mime/packages')
|
||||
)
|
||||
|
||||
install_data('org.gnome.Sysprof2.desktop',
|
||||
install_dir: join_paths(datadir, 'applications')
|
||||
)
|
||||
|
||||
install_data('org.gnome.sysprof2.gschema.xml',
|
||||
install_dir: join_paths(datadir, 'glib-2.0/schemas')
|
||||
)
|
||||
@ -23,6 +19,14 @@ custom_target('appdata-file',
|
||||
install_dir: join_paths(datadir, 'appdata')
|
||||
)
|
||||
|
||||
custom_target('desktop-file',
|
||||
input: 'org.gnome.Sysprof2.desktop.in',
|
||||
output: 'org.gnome.Sysprof2.desktop',
|
||||
command: [msgfmt, '--desktop', '--template', '@INPUT@', '-d', podir, '-o', '@OUTPUT@'],
|
||||
install: true,
|
||||
install_dir: join_paths(datadir, 'applications')
|
||||
)
|
||||
|
||||
pkgconf = configuration_data()
|
||||
pkgconf.set('VERSION', meson.project_version())
|
||||
pkgconf.set('API_VERSION', libsysprof_api_version)
|
||||
|
||||
Reference in New Issue
Block a user