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:
committed by
Jordan Petridis
parent
395e31ff85
commit
5b2edc73ec
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user