Files
sysprof/data/meson.build
Christian Hergert 3002640c50 build: use app-id to determine installed icon
This means we don't install org.gnome.Sysprof.svg anymore when building
with -Ddevelopment=true (and vice versa). We do use org.gnome.Sysprof.svg
from libsysprof-ui, but that embeds the appropriate resources.
2022-07-22 13:13:59 -07:00

35 lines
964 B
Meson

if get_option('gtk') and get_option('libsysprof')
install_data('sysprof-mime.xml',
install_dir: join_paths(datadir, 'mime/packages')
)
appdata_in = configure_file(
input: 'org.gnome.Sysprof.appdata.xml.in.in',
output: 'org.gnome.Sysprof.appdata.xml.in',
configuration: config_h,
)
i18n.merge_file(
input: appdata_in,
output: '@0@.appdata.xml'.format(app_id),
po_dir: podir,
install: true,
install_dir: join_paths(datadir, 'metainfo')
)
desktop_in = configure_file(
input: 'org.gnome.Sysprof.desktop.in.in',
output: 'org.gnome.Sysprof.desktop.in',
configuration: config_h,
)
i18n.merge_file(
input: desktop_in,
output: '@0@.desktop'.format(app_id),
type: 'desktop',
po_dir: podir,
install: true,
install_dir: join_paths(datadir, 'applications')
)
subdir('icons')
endif