raven_plugin_sound_output_dir = raven_plugin_dir + '.SoundOutput' custom_target('raven-plugin-sound-output-file', input : 'SoundOutput.plugin.in', output : 'SoundOutput.plugin', command : [intltool, '--desktop-style', podir, '@INPUT@', '@OUTPUT@'], install : true, install_dir : raven_plugin_sound_output_dir) raven_plugin_sound_output_gresource = join_paths(meson.current_source_dir(), 'plugin.gresource.xml') # Compile the assets into the binary raven_plugin_sound_output_resources = gnome.compile_resources( 'raven-plugin-sound-output-resources', raven_plugin_sound_output_gresource, source_dir: meson.current_source_dir(), c_name: 'budgie_raven_plugin_sound_output', ) raven_plugin_sound_output_sources = [ 'app_sound_control.vala', 'sound_output.vala', raven_plugin_sound_output_resources, ] raven_plugin_sound_output_deps = [ libravenplugin_vapi, dep_giounix, dep_gtk3, dep_peas, link_libravenplugin, gvc.get_variable('libgvc_dep'), meson.get_compiler('c').find_library('m', required: true), ] top_vapidir = join_paths(meson.project_source_root(), 'vapi') shared_library( 'org.buddiesofbudgie.budgie-desktop.raven.widget.SoundOutput', raven_plugin_sound_output_sources, dependencies: raven_plugin_sound_output_deps, vala_args: [ '--vapidir', top_vapidir, '--pkg', 'gvc-1.0', ], install: true, install_dir: raven_plugin_sound_output_dir, install_rpath: rpath_libdir, ) install_data( 'org.buddiesofbudgie.budgie-desktop.raven.widget.SoundOutput.gschema.xml', install_dir: join_paths(datadir, 'glib-2.0', 'schemas'), )