Thu, 11 Aug 2022 21:26:10 -0500
Add a stub VV implementation to demo protocol
This doesn't really do anything, because libpurple without a backend doesn't do
any further signalling. But at least we'll get a contact with the option to
start a media session.
Testing Done:
Compiled and pressed the Audio/Video Call menu item.
Reviewed at https://reviews.imfreedom.org/r/1580/
|
41224
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | DEMO_SOURCES = [ |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | 'purpledemocontacts.c', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | 'purpledemocontacts.h', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | 'purpledemoplugin.c', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | 'purpledemoplugin.h', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | 'purpledemoprotocol.c', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | 'purpledemoprotocol.h', |
|
41459
53a9d24d5be2
Add some protocol actions to demo protocol
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41285
diff
changeset
|
8 | 'purpledemoprotocolactions.c', |
|
53a9d24d5be2
Add some protocol actions to demo protocol
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41285
diff
changeset
|
9 | 'purpledemoprotocolactions.h', |
|
41285
cc3c735c14f4
Split apart demo's PurpleProtocolClient implementation
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41284
diff
changeset
|
10 | 'purpledemoprotocolclient.c', |
|
cc3c735c14f4
Split apart demo's PurpleProtocolClient implementation
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41284
diff
changeset
|
11 | 'purpledemoprotocolclient.h', |
|
41284
7b29786ffdc7
Split apart the demo's PurpleProtocolIM implementation
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41224
diff
changeset
|
12 | 'purpledemoprotocolim.c', |
|
7b29786ffdc7
Split apart the demo's PurpleProtocolIM implementation
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41224
diff
changeset
|
13 | 'purpledemoprotocolim.h', |
|
41487
86b6cbbee778
Add a stub VV implementation to demo protocol
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41459
diff
changeset
|
14 | 'purpledemoprotocolmedia.c', |
|
86b6cbbee778
Add a stub VV implementation to demo protocol
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41459
diff
changeset
|
15 | 'purpledemoprotocolmedia.h', |
|
41224
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | ] |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | if DYNAMIC_DEMO |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | demo_resources = gnome.compile_resources('purpledemoresource', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | 'resources/purpledemo.gresource.xml', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | source_dir : 'resources', |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | c_name : 'purple_demo') |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | DEMO_SOURCES += demo_resources |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | demo_prpl = shared_library('demo', DEMO_SOURCES, |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-Demo"'], |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | dependencies : [glib, json, libpurple_dep], |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | install : false, |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | install_dir : PURPLE_PLUGINDIR) |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir()) |
|
32a7796a2a36
Create a demo protocol plugin that right now just adds contacts and statuses.
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | endif |