build: Build resources with meson instead of build.rs

Allows us to get rid of build.rs, which was only used to
compile resources. static_resource.rs is now created by
meson, and the meson path is used for include_bytes!.

Closes https://gitlab.gnome.org/World/podcasts/issues/55
This commit is contained in:
Christopher Davis
2019-03-07 04:35:31 +00:00
committed by Jordan Petridis
parent 395e31ff85
commit 5b2edc73ec
9 changed files with 27 additions and 22 deletions
+7
View File
@@ -58,4 +58,11 @@ configure_file(
install_dir: join_paths(datadir,'dbus-1', 'services')
)
podcasts_resources = gnome.compile_resources(
'resources',
'resources.xml',
gresource_bundle: true,
source_dir: meson.current_build_dir()
)
meson.add_install_script('../../scripts/compile-gschema.py')