templates: fix gresource file name in Rust and Python build files

meson.build files in the templates for Rust and Python referenced
{{name}}.gresource.xml while the plugin generated
{{prefix}}.gresource.xml, whice broke the builds for projects with dash
in their names. This commit changes the build files to look for the file
with the correct name.
parent 3b032849
......@@ -3,7 +3,7 @@ moduledir = join_paths(pkgdatadir, '{{name_}}')
gnome = import('gnome')
gnome.compile_resources('{{name}}',
'{{name}}.gresource.xml',
'{{prefix}}.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
......
......@@ -2,7 +2,7 @@ pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.proje
gnome = import('gnome')
gnome.compile_resources('{{name}}',
'{{name}}.gresource.xml',
'{{prefix}}.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
......
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