diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 20:30:59 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 20:30:59 +0200 |
commit | 1c44f1f3dbe8eb7564eab8528b738f293702527c (patch) | |
tree | 690edbd4846cf143b95a429b2330e96b8558d5f5 | |
parent | e18ad2888560927947668820de50638c7a526116 (diff) | |
download | gnunet-1c44f1f3dbe8eb7564eab8528b738f293702527c.tar.gz gnunet-1c44f1f3dbe8eb7564eab8528b738f293702527c.zip |
- missing conversation file
-rw-r--r-- | src/conversation/meson.build | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/src/conversation/meson.build b/src/conversation/meson.build new file mode 100644 index 000000000..d4d905e6f --- /dev/null +++ b/src/conversation/meson.build | |||
@@ -0,0 +1,98 @@ | |||
1 | libgnunetconversation_src = ['conversation_api.c', 'conversation_api_call.c'] | ||
2 | |||
3 | gnunetserviceconversation_src = ['gnunet-service-conversation.c', | ||
4 | 'gnunet-service-conversation_resolver.c', | ||
5 | 'gnunet-service-conversation_interceptor.c'] | ||
6 | |||
7 | gnunetconversationproxy_src = ['gnunet-conversation-proxy.c'] | ||
8 | |||
9 | configure_file(input : 'conversation.conf.in', | ||
10 | output : 'conversation.conf', | ||
11 | configuration : cdata, | ||
12 | install: true, | ||
13 | install_dir: pkgcfgdir) | ||
14 | |||
15 | |||
16 | if get_option('monolith') | ||
17 | foreach p : libgnunetconversation_src + gnunetserviceconversation_src | ||
18 | gnunet_src += 'conversation/' + p | ||
19 | endforeach | ||
20 | subdir_done() | ||
21 | endif | ||
22 | |||
23 | libgnunetmicrophone = library('gnunetmicrophone', | ||
24 | ['microphone.c'], | ||
25 | soversion: '0.0.0', | ||
26 | dependencies: [libgnunetutil_dep], | ||
27 | include_directories: [incdir, configuration_inc], | ||
28 | install: true, | ||
29 | install_dir: get_option('libdir')) | ||
30 | libgnunetmicrophone_dep = declare_dependency(link_with : libgnunetmicrophone) | ||
31 | pkg.generate(libgnunetmicrophone, url: 'https://www.gnunet.org', | ||
32 | description : 'Provides API to access to microphone') | ||
33 | |||
34 | libgnunetspeaker = library('gnunetspeaker', | ||
35 | ['speaker.c'], | ||
36 | soversion: '0.0.0', | ||
37 | dependencies: [libgnunetutil_dep], | ||
38 | include_directories: [incdir, configuration_inc], | ||
39 | install: true, | ||
40 | install_dir: get_option('libdir')) | ||
41 | libgnunetspeaker_dep = declare_dependency(link_with : libgnunetspeaker) | ||
42 | pkg.generate(libgnunetspeaker, url: 'https://www.gnunet.org', | ||
43 | description : 'Provides API to access to speaker') | ||
44 | |||
45 | libgnunetconversation = library('gnunetconversation', | ||
46 | libgnunetconversation_src, | ||
47 | soversion: '0.0.0', | ||
48 | dependencies: [libgnunetutil_dep, | ||
49 | libgnunetgnsrecord_dep, | ||
50 | libgnunetgns_dep, | ||
51 | libgnunetnamestore_dep, | ||
52 | libgnunetidentity_dep], | ||
53 | include_directories: [incdir, configuration_inc], | ||
54 | install: true, | ||
55 | install_dir: get_option('libdir')) | ||
56 | libgnunetconversation_dep = declare_dependency(link_with : libgnunetconversation) | ||
57 | pkg.generate(libgnunetconversation, url: 'https://www.gnunet.org', | ||
58 | description : 'Provides API to access to conversation') | ||
59 | |||
60 | shared_module('gnunet_plugin_gnsrecord_conversation', | ||
61 | ['plugin_gnsrecord_conversation.c'], | ||
62 | dependencies: [libgnunetutil_dep, | ||
63 | libgnunetconversation_dep, | ||
64 | libgnunetgns_dep, | ||
65 | libgnunetgnsrecord_dep, | ||
66 | libgnunetidentity_dep], | ||
67 | include_directories: [incdir, configuration_inc], | ||
68 | install: true, | ||
69 | install_dir: get_option('libdir')) | ||
70 | |||
71 | libgnunetconversation_dep = declare_dependency(link_with : libgnunetconversation) | ||
72 | pkg.generate(libgnunetconversation, url: 'https://www.gnunet.org', | ||
73 | description : 'Provides API to access the GNU Name System') | ||
74 | |||
75 | |||
76 | executable ('gnunet-conversation', | ||
77 | 'gnunet-conversation.c', | ||
78 | dependencies: [libgnunetconversation_dep, | ||
79 | libgnunetgns_dep, | ||
80 | libgnunetgnsrecord_dep, | ||
81 | libgnunetnamestore_dep, | ||
82 | libgnunetspeaker_dep, | ||
83 | libgnunetmicrophone_dep, | ||
84 | libgnunetidentity_dep, | ||
85 | libgnunetutil_dep], | ||
86 | include_directories: [incdir, configuration_inc], | ||
87 | install: true, | ||
88 | install_dir: get_option('bindir')) | ||
89 | executable ('gnunet-service-conversation', | ||
90 | gnunetserviceconversation_src, | ||
91 | dependencies: [libgnunetconversation_dep, | ||
92 | libgnunetspeaker_dep, | ||
93 | libgnunetmicrophone_dep, | ||
94 | libgnunetidentity_dep, | ||
95 | libgnunetcadet_dep], | ||
96 | include_directories: [incdir, configuration_inc], | ||
97 | install: true, | ||
98 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||