Commit 147462b2 authored by Arnaud Rebillout's avatar Arnaud Rebillout Committed by Arun Raghavan
Browse files

meson: Do not build dbus files as a library


Signed-off-by: default avatarArnaud Rebillout <arnaud.rebillout@collabora.com>
parent fd659908
libdbus_util_sources = [
'iface-card.c',
'iface-card-profile.c',
'iface-client.c',
'iface-core.c',
'iface-device.c',
'iface-device-port.c',
'iface-memstats.c',
'iface-module.c',
'iface-sample.c',
'iface-stream.c',
]
libdbus_util_headers = [
'iface-card.h',
'iface-card-profile.h',
'iface-client.h',
'iface-core.h',
'iface-device.h',
'iface-device-port.h',
'iface-memstats.h',
'iface-module.h',
'iface-sample.h',
'iface-stream.h',
]
libdbus_util = shared_library('libdbus_util',
libdbus_util_sources,
libdbus_util_headers,
c_args : [pa_c_args, server_c_args],
include_directories : [configinc, topinc],
dependencies : [libpulse_dep, libpulsecommon_dep, libpulsecore_dep, dbus_dep],
install : true
)
......@@ -107,9 +107,21 @@ if avahi_dep.found()
endif
if dbus_dep.found()
subdir('dbus')
all_modules += [
[ 'module-dbus-protocol', 'dbus/module-dbus-protocol.c', [], [], [dbus_dep], libdbus_util ],
[ 'module-dbus-protocol',
[ 'dbus/iface-card.c', 'dbus/iface-card.h',
'dbus/iface-card-profile.c', 'dbus/iface-card-profile.h',
'dbus/iface-client.c', 'dbus/iface-client.h',
'dbus/iface-core.c', 'dbus/iface-core.h',
'dbus/iface-device.c', 'dbus/iface-device.h',
'dbus/iface-device-port.c', 'dbus/iface-device-port.h',
'dbus/iface-memstats.c', 'dbus/iface-memstats.h',
'dbus/iface-module.c', 'dbus/iface-module.h',
'dbus/iface-sample.c', 'dbus/iface-sample.h',
'dbus/iface-stream.c', 'dbus/iface-stream.h',
'dbus/module-dbus-protocol.c',
],
[], [], [dbus_dep] ]
]
endif
......
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