Verified Commit 0ae1eb95 authored by Jordan Petridis's avatar Jordan Petridis 🌱

build: Translate desktop and appdata files

parent aa1d0161
......@@ -26,6 +26,7 @@ subdir('podcasts-gtk/resources')
i18n = import('i18n')
subdir('podcasts-gtk/po')
podir = join_paths (meson.source_root (), 'podcasts-gtk', 'po')
cargo = find_program('cargo', required: false)
gresource = find_program('glib-compile-resources', required: false)
......
subdir('icons')
install_data('org.gnome.Podcasts.desktop', install_dir : datadir + '/applications')
install_data('org.gnome.Podcasts.appdata.xml', install_dir : datadir + '/appdata')
install_data('org.gnome.Podcasts.gschema.xml', install_dir: join_paths(datadir, 'glib-2.0', 'schemas'))
i18n.merge_file ('desktop-file',
type: 'desktop',
input: 'org.gnome.Podcasts.desktop.in',
output: 'org.gnome.Podcasts.desktop',
po_dir: podir,
install: true,
install_dir: join_paths (datadir, 'applications')
)
i18n.merge_file ('appdata-file',
input: 'org.gnome.Podcasts.appdata.xml.in',
output: 'org.gnome.Podcasts.appdata.xml',
po_dir: podir,
install: true,
install_dir: join_paths (datadir, 'appdata')
)
install_data('org.gnome.Podcasts.gschema.xml', install_dir: join_paths(datadir, 'glib-2.0', 'schemas'))
configure_file(input: 'org.gnome.Podcasts.service.in',
output: 'org.gnome.Podcasts.service',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment