2020-03-08 13:50:59 +00:00
|
|
|
gnome.compile_resources(
|
|
|
|
app_id + '.data',
|
|
|
|
app_id + '.data.gresource.xml',
|
|
|
|
gresource_bundle: true,
|
|
|
|
install: true,
|
|
|
|
install_dir: pkgdatadir
|
|
|
|
)
|
2020-03-08 14:04:46 +00:00
|
|
|
|
|
|
|
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'
|
|
|
|
)
|
|
|
|
|
2020-03-08 21:38:47 +00:00
|
|
|
configure_file(
|
|
|
|
input: app_id + '.service.in',
|
|
|
|
output: app_id + '.service',
|
|
|
|
configuration: desktopconf,
|
|
|
|
install: true,
|
|
|
|
install_dir: servicedir,
|
|
|
|
)
|
|
|
|
|
2020-03-08 14:04:46 +00:00
|
|
|
subdir('icons')
|
2020-03-12 19:27:32 +00:00
|
|
|
subdir('metainfo')
|