gnome-shell/subprojects/extensions-app/data/meson.build
Florian Müllner 65450a836e build: Drop incorrect positional arg
Unlike other targets that take a name, i18n.merge_file() does not.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2078>
2021-12-23 18:43:25 +00:00

47 lines
1.0 KiB
Meson

gnome.compile_resources(
app_id + '.data',
base_id + '.data.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir
)
desktop_file = app_id + '.desktop'
desktopconf = configuration_data()
# We substitute in bindir so it works as an autostart
# file when built in a non-system prefix
desktopconf.set('bindir', bindir)
desktopconf.set('app_id', app_id)
desktopconf.set('prgname', prgname)
i18n.merge_file(
input: configure_file(
input: base_id + '.desktop.in.in',
output: desktop_file + '.in',
configuration: desktopconf
),
output: desktop_file,
po_dir: po_dir,
install: true,
install_dir: desktopdir,
type: 'desktop'
)
if (desktop_file_validate.found())
test('Validating ' + desktop_file,
desktop_file_validate,
args: [desktop_file],
workdir: meson.current_build_dir()
)
endif
configure_file(
input: base_id + '.service.in',
output: app_id + '.service',
configuration: desktopconf,
install_dir: servicedir,
)
subdir('icons')
subdir('metainfo')