mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-02 01:40:31 -05:00
modules: move zeroconf code to zeroconf-utils
This commit is contained in:
parent
4a399172b6
commit
fa04146cfb
12 changed files with 15 additions and 16 deletions
|
|
@ -372,7 +372,7 @@ endif
|
|||
if avahi_dep.found()
|
||||
pipewire_module_protocol_pulse_sources += [
|
||||
'module-protocol-pulse/modules/module-zeroconf-publish.c',
|
||||
'module-zeroconf-discover/avahi-poll.c',
|
||||
'zeroconf-utils/avahi-poll.c',
|
||||
]
|
||||
pipewire_module_protocol_pulse_deps += avahi_dep
|
||||
cdata.set('HAVE_AVAHI', true)
|
||||
|
|
@ -569,7 +569,7 @@ if build_module_zeroconf_discover
|
|||
pipewire_module_zeroconf_discover = shared_library('pipewire-module-zeroconf-discover',
|
||||
[ 'module-zeroconf-discover.c',
|
||||
'module-protocol-pulse/format.c',
|
||||
'module-zeroconf-discover/avahi-poll.c' ],
|
||||
'zeroconf-utils/avahi-poll.c' ],
|
||||
include_directories : [configinc],
|
||||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
|
|
@ -599,7 +599,7 @@ build_module_raop_discover = avahi_dep.found()
|
|||
if build_module_raop_discover
|
||||
pipewire_module_raop_discover = shared_library('pipewire-module-raop-discover',
|
||||
[ 'module-raop-discover.c',
|
||||
'module-zeroconf-discover/avahi-poll.c' ],
|
||||
'zeroconf-utils/avahi-poll.c' ],
|
||||
include_directories : [configinc],
|
||||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
|
|
@ -613,7 +613,7 @@ build_module_snapcast_discover = avahi_dep.found()
|
|||
if build_module_snapcast_discover
|
||||
pipewire_module_snapcast_discover = shared_library('pipewire-module-snapcast-discover',
|
||||
[ 'module-snapcast-discover.c',
|
||||
'module-zeroconf-discover/avahi-poll.c' ],
|
||||
'zeroconf-utils/avahi-poll.c' ],
|
||||
include_directories : [configinc],
|
||||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
|
|
@ -661,7 +661,7 @@ pipewire_module_rtp_sink = shared_library('pipewire-module-rtp-sink',
|
|||
build_module_rtp_session = avahi_dep.found()
|
||||
if build_module_rtp_session
|
||||
pipewire_module_rtp_session = shared_library('pipewire-module-rtp-session',
|
||||
[ 'module-zeroconf-discover/avahi-poll.c',
|
||||
[ 'zeroconf-utils/avahi-poll.c',
|
||||
'module-rtp-session.c' ],
|
||||
include_directories : [configinc],
|
||||
install : true,
|
||||
|
|
@ -705,8 +705,8 @@ pipewire_module_vban_recv = shared_library('pipewire-module-vban-recv',
|
|||
|
||||
if avahi_dep.found()
|
||||
pipewire_module_sendspin_sources += [
|
||||
'module-sendspin/zeroconf.c',
|
||||
'module-zeroconf-discover/avahi-poll.c',
|
||||
'zeroconf-utils/zeroconf.c',
|
||||
'zeroconf-utils/avahi-poll.c',
|
||||
]
|
||||
pipewire_module_sendspin_deps += avahi_dep
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#include "../module.h"
|
||||
#include "../pulse-server.h"
|
||||
#include "../server.h"
|
||||
#include "../../module-zeroconf-discover/avahi-poll.h"
|
||||
#include "../../zeroconf-utils/avahi-poll.h"
|
||||
|
||||
#include <avahi-client/client.h>
|
||||
#include <avahi-client/publish.h>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
#include <avahi-common/error.h>
|
||||
#include <avahi-common/malloc.h>
|
||||
|
||||
#include "zeroconf-utils/avahi-poll.h"
|
||||
#include "module-protocol-pulse/format.h"
|
||||
#include "module-zeroconf-discover/avahi-poll.h"
|
||||
|
||||
/** \page page_module_raop_discover RAOP Discover
|
||||
*
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#include <avahi-common/error.h>
|
||||
#include <avahi-common/malloc.h>
|
||||
|
||||
#include "module-zeroconf-discover/avahi-poll.h"
|
||||
#include "zeroconf-utils/avahi-poll.h"
|
||||
|
||||
#include <module-rtp/rtp.h>
|
||||
#include <module-rtp/apple-midi.h>
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@
|
|||
#include <pipewire/pipewire.h>
|
||||
#include <pipewire/impl.h>
|
||||
|
||||
#include "zeroconf-utils/zeroconf.h"
|
||||
#include "module-sendspin/sendspin.h"
|
||||
#include "module-sendspin/zeroconf.h"
|
||||
#include "module-sendspin/websocket.h"
|
||||
#include "module-sendspin/regress.h"
|
||||
#include "network-utils.h"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "module-sendspin/sendspin.h"
|
||||
#include "module-sendspin/websocket.h"
|
||||
#include "module-sendspin/zeroconf.h"
|
||||
#include "zeroconf-utils/zeroconf.h"
|
||||
#include "network-utils.h"
|
||||
|
||||
/** \page page_module_sendspin_send sendspin sender
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
#include <avahi-common/malloc.h>
|
||||
|
||||
#include "module-protocol-pulse/format.h"
|
||||
#include "module-zeroconf-discover/avahi-poll.h"
|
||||
#include "zeroconf-utils/avahi-poll.h"
|
||||
|
||||
#include "network-utils.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#include <avahi-common/malloc.h>
|
||||
|
||||
#include "module-protocol-pulse/format.h"
|
||||
#include "module-zeroconf-discover/avahi-poll.h"
|
||||
#include "zeroconf-utils/avahi-poll.h"
|
||||
|
||||
/** \page page_module_zeroconf_discover Zeroconf Discover
|
||||
*
|
||||
|
|
|
|||
|
|
@ -20,8 +20,7 @@
|
|||
#include <avahi-common/error.h>
|
||||
#include <avahi-common/malloc.h>
|
||||
|
||||
#include "../module-zeroconf-discover/avahi-poll.h"
|
||||
|
||||
#include "avahi-poll.h"
|
||||
#include "zeroconf.h"
|
||||
|
||||
#define pw_zeroconf_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_zeroconf_events, m, v, ##__VA_ARGS__)
|
||||
Loading…
Add table
Add a link
Reference in a new issue