gnome-control-center/panels/sound/data/sounds/meson.build
Iñigo Martínez 32edd6789e build: Port to meson build system
Meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:35 -02:00

31 lines
633 B
Meson

sound_data = files(
'bark.ogg',
'drip.ogg',
'glass.ogg',
'sonar.ogg'
)
install_data(
sound_data,
install_dir: join_paths(control_center_datadir, 'sounds', 'gnome', 'default', 'alerts')
)
metadata_conf = configuration_data()
metadata_conf.set('datadir', control_center_datadir)
metadata = 'gnome-sounds-default.xml'
metadata_in = configure_file(
input: metadata + '.in.in',
output: metadata + '.in',
configuration: metadata_conf
)
custom_target(
metadata,
input: metadata_in,
output: metadata,
command: intltool_xml_cmd,
install: true,
install_dir: join_paths(control_center_pkgdatadir, 'sounds')
)