Commit 6c70d1cd authored by Arnaud Ferraris's avatar Arnaud Ferraris
Browse files

src: move D-Bus interface file to new data folder

The D-Bus interface definition will be required by other components from 
this package, create a `data` folder and move it there.
parent 56ff28fb
#
# Copyright (C) 2019 Purism SPC
# Copyright (C) 2020 Arnaud Ferraris <arnaud.ferraris@gmail.com>
#
# SPDX-License-Identifier: LGPL-2.1-or-later
#
gnome = import('gnome')
# DBus server interface
dbus_prefix = 'org.mobian_project.'
dbus_namespace = 'CallAudioDbus'
generated_dbus_sources = []
dbus_interfaces = [ 'org.mobian_project.CallAudio.xml' ]
generated_dbus_sources += gnome.gdbus_codegen('callaudio-dbus',
sources : dbus_interfaces,
object_manager : false,
interface_prefix : dbus_prefix,
install_header : false,
namespace : dbus_namespace)
dbus_header_dir = meson.current_build_dir()
dbus_inc = include_directories('.')
install_data(dbus_interfaces, install_dir: ifacedir)
......@@ -45,4 +45,5 @@ config_data.set_quoted('APP_DATA_NAME', app_name)
config_data.set_quoted('DATADIR', full_datadir)
config_data.set_quoted('SYSCONFDIR', full_sysconfdir)
subdir('data')
subdir('src')
......@@ -5,27 +5,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
gnome = import('gnome')
# DBus server interface
prefix = 'org.mobian_project.'
namespace = 'CadDbus'
generated_dbus_sources = []
dbus_interfaces = [ 'org.mobian_project.CallAudio.xml' ]
generated_dbus_sources += gnome.gdbus_codegen('cad-dbus',
sources : dbus_interfaces,
object_manager : false,
interface_prefix : prefix,
install_header : false,
namespace : namespace)
dbus_header_dir = meson.current_build_dir()
dbus_inc = include_directories('.')
install_data(dbus_interfaces, install_dir: ifacedir)
cad_deps = [
dependency('alsa'),
dependency('gobject-2.0'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment