mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
meson: Do not build dbus files as a library
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
fd6599089b
commit
147462b276
2 changed files with 14 additions and 36 deletions
|
|
@ -1,34 +0,0 @@
|
||||||
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
|
endif
|
||||||
|
|
||||||
if dbus_dep.found()
|
if dbus_dep.found()
|
||||||
subdir('dbus')
|
|
||||||
all_modules += [
|
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
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue