Debian Codegraph @

src/raven/widgets/sound-output/meson.build

raw
1 raven_plugin_sound_output_dir = raven_plugin_dir + '.SoundOutput'
2
3 custom_target('raven-plugin-sound-output-file',
4 input : 'SoundOutput.plugin.in',
5 output : 'SoundOutput.plugin',
6 command : [intltool, '--desktop-style', podir, '@INPUT@', '@OUTPUT@'],
7 install : true,
8 install_dir : raven_plugin_sound_output_dir)
9
10 raven_plugin_sound_output_gresource = join_paths(meson.current_source_dir(), 'plugin.gresource.xml')
11
12 # Compile the assets into the binary
13 raven_plugin_sound_output_resources = gnome.compile_resources(
14 'raven-plugin-sound-output-resources',
15 raven_plugin_sound_output_gresource,
16 source_dir: meson.current_source_dir(),
17 c_name: 'budgie_raven_plugin_sound_output',
18 )
19
20 raven_plugin_sound_output_sources = [
21 'app_sound_control.vala',
22 'sound_output.vala',
23 raven_plugin_sound_output_resources,
24 ]
25
26 raven_plugin_sound_output_deps = [
27 libravenplugin_vapi,
28 dep_giounix,
29 dep_gtk3,
30 dep_peas,
31 link_libravenplugin,
32 gvc.get_variable('libgvc_dep'),
33 meson.get_compiler('c').find_library('m', required: true),
34 ]
35
36 top_vapidir = join_paths(meson.project_source_root(), 'vapi')
37
38 shared_library(
39 'org.buddiesofbudgie.budgie-desktop.raven.widget.SoundOutput',
40 raven_plugin_sound_output_sources,
41 dependencies: raven_plugin_sound_output_deps,
42 vala_args: [
43 '--vapidir', top_vapidir,
44 '--pkg', 'gvc-1.0',
45 ],
46 install: true,
47 install_dir: raven_plugin_sound_output_dir,
48 install_rpath: rpath_libdir,
49 )
50
51 install_data(
52 'org.buddiesofbudgie.budgie-desktop.raven.widget.SoundOutput.gschema.xml',
53 install_dir: join_paths(datadir, 'glib-2.0', 'schemas'),
54 )