gnome-shell/js/extensionPrefs/data/meson.build
Florian Müllner 3ee878491b extensionPrefs: Add metainfo
This is required for the app to appear properly in GNOME Software.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1081
2020-03-19 14:27:36 +00:00

31 lines
697 B
Meson

gnome.compile_resources(
app_id + '.data',
app_id + '.data.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir
)
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('desktop',
input: configure_file(
input: app_id + '.desktop.in.in',
output: app_id + '.desktop.in',
configuration: desktopconf
),
output: app_id + '.desktop',
po_dir: po_dir,
install: true,
install_dir: desktopdir,
type: 'desktop'
)
subdir('icons')
subdir('metainfo')