Commit | Line | Data |
---|---|---|
d5a8e391 RG |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; | |
3 | ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org> | |
fe6ccb85 | 4 | ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
d5a8e391 RG |
5 | ;;; |
6 | ;;; This file is part of GNU Guix. | |
7 | ;;; | |
8 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
9 | ;;; under the terms of the GNU General Public License as published by | |
10 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
11 | ;;; your option) any later version. | |
12 | ;;; | |
13 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
14 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | ;;; GNU General Public License for more details. | |
17 | ;;; | |
18 | ;;; You should have received a copy of the GNU General Public License | |
19 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | (define-module (gnu packages linphone) | |
22 | #:use-module (gnu packages) | |
b6b3a6a6 RG |
23 | #:use-module (gnu packages admin) |
24 | #:use-module (gnu packages audio) | |
d5a8e391 | 25 | #:use-module (gnu packages base) |
e7859da1 | 26 | #:use-module (gnu packages compression) |
13f401d3 | 27 | #:use-module (gnu packages documentation) |
9732910d | 28 | #:use-module (gnu packages gettext) |
b6b3a6a6 | 29 | #:use-module (gnu packages gl) |
02b32cdd | 30 | #:use-module (gnu packages glib) |
b6b3a6a6 | 31 | #:use-module (gnu packages gnome) |
02b32cdd | 32 | #:use-module (gnu packages gnome-xyz) |
13f401d3 | 33 | #:use-module (gnu packages graphviz) |
02b32cdd | 34 | #:use-module (gnu packages gtk) |
b6b3a6a6 RG |
35 | #:use-module (gnu packages image) |
36 | #:use-module (gnu packages linux) | |
37 | #:use-module (gnu packages pulseaudio) | |
38 | #:use-module (gnu packages python) | |
9732910d | 39 | #:use-module (gnu packages python-xyz) |
e7859da1 | 40 | #:use-module (gnu packages java) |
f3697439 | 41 | #:use-module (gnu packages sqlite) |
b6b3a6a6 | 42 | #:use-module (gnu packages telephony) |
bfaabfeb | 43 | #:use-module (gnu packages tls) |
b6b3a6a6 RG |
44 | #:use-module (gnu packages video) |
45 | #:use-module (gnu packages xiph) | |
f3697439 | 46 | #:use-module (gnu packages xml) |
b6b3a6a6 | 47 | #:use-module (gnu packages xorg) |
d5a8e391 RG |
48 | #:use-module ((guix licenses) #:prefix license:) |
49 | #:use-module (guix packages) | |
50 | #:use-module (guix download) | |
51 | #:use-module (guix build-system cmake) | |
52 | #:use-module (guix build-system gnu)) | |
53 | ||
54 | (define-public bcunit | |
55 | (package | |
56 | (name "bcunit") | |
57 | (version "3.0.2") | |
58 | (source | |
59 | (origin | |
60 | (method url-fetch) | |
61 | (uri | |
62 | (string-append "https://www.linphone.org/releases/sources/" name | |
63 | "/" name "-" version ".tar.gz")) | |
64 | (sha256 | |
65 | (base32 "0ylchj8w98ic2fkqpxc6yk4s6s0h0ql2zsz5n49jd7126m4h8dqk")))) | |
66 | (build-system cmake-build-system) | |
67 | (arguments | |
68 | '(#:tests? #f ; No test target | |
69 | #:configure-flags | |
70 | (list | |
71 | "-DENABLE_STATIC=NO"))) ; Not required | |
72 | (synopsis "Belledonne Communications Unit Testing Framework") | |
73 | (description "BCUnit is a fork of the defunct project CUnit, | |
74 | with several fixes and patches applied. It is an unit testing | |
75 | framework for writing, administering, and running unit tests in C.") | |
76 | (home-page "https://gitlab.linphone.org/BC/public/bcunit") | |
77 | (license license:lgpl2.0+))) | |
bfaabfeb RG |
78 | |
79 | (define-public bctoolbox | |
80 | (package | |
81 | (name "bctoolbox") | |
82 | (version "0.6.0") | |
83 | (source | |
84 | (origin | |
85 | (method url-fetch) | |
86 | (uri | |
87 | (string-append "https://www.linphone.org/releases/sources/" name | |
88 | "/" name "-" version ".tar.gz")) | |
89 | (sha256 | |
90 | (base32 "1a1i70pb4hhnykkwyhhc7fv67q556l8kprny8xzgfqpj1nby2ms6")))) | |
91 | (build-system cmake-build-system) | |
92 | (arguments | |
93 | '(#:tests? #f ; No test target | |
94 | #:configure-flags | |
95 | (list | |
96 | "-DENABLE_STATIC=OFF"))) ; Not required | |
97 | (inputs | |
98 | `(("bcunit" ,bcunit) | |
99 | ("mbedtls" ,mbedtls-apache))) | |
100 | (synopsis "Belledonne Communications Tool Box") | |
101 | (description "BcToolBox is an utilities library used by Belledonne | |
1d0feeb0 | 102 | Communications software like belle-sip, mediastreamer2 and linphone.") |
bfaabfeb RG |
103 | (home-page "https://gitlab.linphone.org/BC/public/bctoolbox") |
104 | (license license:gpl2+))) | |
63c73bca RG |
105 | |
106 | (define-public belr | |
107 | (package | |
108 | (name "belr") | |
109 | (version "0.1.3") | |
110 | (source | |
111 | (origin | |
112 | (method url-fetch) | |
113 | (uri | |
114 | (string-append "https://www.linphone.org/releases/sources/" name | |
115 | "/" name "-" version ".tar.gz")) | |
116 | (sha256 | |
117 | (base32 "1fwv2cg3qy9vdc7dimcda7nqcqc1h2cdd7ikhk7ng7q4ys8m96c1")))) | |
118 | (build-system cmake-build-system) | |
119 | (arguments | |
120 | `(#:tests? #f ; No test target | |
121 | #:configure-flags | |
122 | (list | |
123 | "-DENABLE_STATIC=OFF"))) ; Not required | |
124 | (inputs | |
125 | `(("bctoolbox" ,bctoolbox))) | |
126 | (synopsis "Belledonne Communications Language Recognition Library") | |
127 | (description "Belr is Belledonne Communications' language recognition library, | |
128 | written in C++11. It parses text inputs formatted according to a language | |
129 | defined by an ABNF grammar, such as the protocols standardized at IETF.") | |
130 | (home-page "https://gitlab.linphone.org/BC/public/belr") | |
131 | (license license:gpl3+))) | |
c8f69ec2 RG |
132 | |
133 | (define-public belcard | |
134 | (package | |
135 | (name "belcard") | |
136 | (version "1.0.2") | |
137 | (source | |
138 | (origin | |
139 | (method url-fetch) | |
140 | (uri | |
141 | (string-append "https://www.linphone.org/releases/sources/" name | |
142 | "/" name "-" version ".tar.gz")) | |
143 | (sha256 | |
144 | (base32 "0iiyrll1shnbb0561pkvdqcmx9b2cdr76xpsbaqdirc3s4xzcl0k")))) | |
145 | (build-system cmake-build-system) | |
146 | (arguments | |
147 | `(#:tests? #f ; No test target | |
148 | #:configure-flags | |
149 | (list | |
150 | "-DENABLE_STATIC=OFF"))) ; Not required | |
151 | (inputs | |
152 | `(("bctoolbox" ,bctoolbox) | |
153 | ("belr" ,belr))) | |
154 | (synopsis "Belledonne Communications VCard Library") | |
155 | (description "Belcard is a C++ library to manipulate VCard standard format.") | |
156 | (home-page "https://gitlab.linphone.org/BC/public/belcard") | |
157 | (license license:gpl3+))) | |
28f6f1e0 RG |
158 | |
159 | (define-public bcmatroska2 | |
160 | (package | |
161 | (name "bcmatroska2") | |
162 | (version "0.23") | |
163 | (source | |
164 | (origin | |
165 | (method url-fetch) | |
166 | (uri | |
167 | (string-append "https://www.linphone.org/releases/sources/" name | |
168 | "/" name "-" version ".tar.gz")) | |
169 | (sha256 | |
170 | (base32 "1a0vlk4fhh189pfzrwbc3xbc5vyx6cnxy642d1h40045jz9y4h15")))) | |
171 | (build-system cmake-build-system) | |
172 | (arguments | |
173 | `(#:tests? #f ; No test target | |
174 | #:configure-flags | |
175 | (list | |
176 | "-DENABLE_STATIC=NO"))) ; Not required | |
177 | (synopsis "Belledonne Communications Media Container") | |
178 | (description "BcMatroska is a free and open standard multi-media | |
179 | container format. It can hold an unlimited number of video, audio, | |
180 | picture, or subtitle tracks in one file. ") | |
181 | (home-page "https://gitlab.linphone.org/BC/public/bcmatroska2") | |
182 | (license | |
183 | (list | |
184 | ;; That license applies for Core C and LibEBML2. | |
185 | ;; https://www.matroska.org/node/47 | |
186 | license:bsd-4 | |
187 | ;; That license applies for LibMatroska2. | |
188 | ;; https://www.matroska.org/node/47 | |
189 | license:lgpl2.1+)))) | |
02d5d72c RG |
190 | |
191 | (define-public bcg729 | |
192 | (package | |
193 | (name "bcg729") | |
194 | (version "1.0.4") | |
195 | (source | |
196 | (origin | |
197 | (method url-fetch) | |
198 | (uri | |
199 | (string-append "https://www.linphone.org/releases/sources/" name | |
200 | "/" name "-" version ".tar.gz")) | |
201 | (sha256 | |
202 | (base32 "01y34ky7ykjgfnf8a9f59hg61fqfjiprfrzshdz06w0lz4gvy3qs")))) | |
203 | (build-system cmake-build-system) | |
204 | (arguments | |
205 | `(#:tests? #f ; No test target | |
206 | #:configure-flags | |
207 | (list | |
208 | "-DENABLE_STATIC=NO"))) ; Not required | |
209 | (synopsis "Belledonne Communications G729 Codec") | |
210 | (description "BcG729 is an implementation of both encoder and decoder of | |
211 | the ITU G729 speech codec. The library written in C 99 is fully portable and | |
212 | can be executed on many platforms including both ARM and x86 processors. It | |
213 | supports concurrent channels encoding and decoding for multi call application | |
214 | such as conferencing.") | |
215 | (home-page "https://gitlab.linphone.org/BC/public/belcard") | |
216 | (license license:gpl2+))) | |
13f401d3 RG |
217 | |
218 | (define-public ortp | |
219 | (package | |
220 | (name "ortp") | |
221 | (version "1.0.2") | |
222 | (source | |
223 | (origin | |
224 | (method url-fetch) | |
225 | (uri | |
226 | (string-append "https://www.linphone.org/releases/sources/" name | |
227 | "/" name "-" version ".tar.gz")) | |
228 | (sha256 | |
229 | (base32 "016qg0lmdgmqh2kv19w9qhi4kkiyi5h1xp35g2s65b1j8ccm25d5")))) | |
230 | (build-system cmake-build-system) | |
231 | (arguments | |
232 | `(#:tests? #f ; No test target | |
233 | #:configure-flags | |
234 | (list | |
235 | "-DENABLE_STATIC=NO"))) ; Not required | |
236 | (native-inputs | |
237 | `(("dot" ,graphviz) | |
238 | ("doxygen" ,doxygen))) | |
239 | (inputs | |
240 | `(("bctoolbox" ,bctoolbox))) | |
241 | (synopsis "Belledonne Communications RTP Library") | |
242 | (description "oRTP is a C library implementing the RTP protocol. It | |
243 | implements the RFC 3550 standard.") | |
244 | (home-page "https://gitlab.linphone.org/BC/public/ortp") | |
245 | (license license:gpl2+))) | |
f3697439 RG |
246 | |
247 | (define-public bzrtp | |
248 | (package | |
249 | (name "bzrtp") | |
250 | (version "1.0.6") | |
251 | (source | |
252 | (origin | |
253 | (method url-fetch) | |
254 | (uri | |
255 | (string-append "https://www.linphone.org/releases/sources/" name | |
256 | "/" name "-" version ".tar.gz")) | |
257 | (sha256 | |
258 | (base32 "12y0kkh90pixaaxfyx26ca2brhy6nw57fsypp6vh8jk1illv0j5z")))) | |
259 | (build-system cmake-build-system) | |
260 | (arguments | |
261 | `(#:tests? #f ; No test target | |
262 | #:configure-flags | |
263 | (list | |
264 | "-DENABLE_STATIC=NO"))) | |
265 | (inputs | |
266 | `(("bctoolbox" ,bctoolbox) | |
267 | ("sqlite3" ,sqlite) | |
268 | ("xml2" ,libxml2))) | |
269 | (synopsis "Belledonne Communications ZRTP Library") | |
270 | (description "BZRTP is an implementation of ZRTP keys exchange | |
271 | protocol, written in C. It is fully portable and can be executed on many | |
272 | platforms including both ARM and x86.") | |
273 | (home-page "https://gitlab.linphone.org/BC/public/bzrtp") | |
274 | (license license:gpl2+))) | |
e7859da1 RG |
275 | |
276 | (define-public belle-sip | |
277 | (package | |
278 | (name "belle-sip") | |
279 | (version "1.6.3") | |
280 | (source | |
281 | (origin | |
282 | (method url-fetch) | |
283 | (uri | |
284 | (string-append "https://www.linphone.org/releases/sources/" name | |
285 | "/" name "-" version ".tar.gz")) | |
286 | (sha256 | |
287 | (base32 "0s55kggmgxap54dkw5856bgk4xg7yvbzialpxnjm0zhpic3hff1z")))) | |
288 | (build-system cmake-build-system) | |
289 | (arguments | |
290 | `(#:tests? #f ; Requires network access | |
291 | #:configure-flags | |
292 | (list | |
293 | "-DENABLE_STATIC=NO") | |
294 | #:phases | |
295 | (modify-phases %standard-phases | |
296 | (add-after 'unpack 'patch | |
297 | (lambda _ | |
298 | (substitute* "src/CMakeLists.txt" | |
299 | ;; ANTLR would use multithreaded DFA generation | |
300 | ;; otherwise--which would not be reproducible. | |
301 | (("-Xmultithreaded ") "")) | |
302 | #t))))) | |
303 | (inputs | |
304 | `(("antlr3" ,antlr3-3.3) | |
305 | ("antlr3c" ,libantlr3c) | |
306 | ("bctoolbox" ,bctoolbox) | |
307 | ("java" ,icedtea) | |
308 | ("zlib" ,zlib))) | |
309 | (synopsis "Belledonne Communications SIP Library") | |
310 | (description "Belle-sip is a modern library implementing SIP transport, | |
311 | transaction and dialog layers. It is written in C, with an object-oriented | |
312 | API. It also comprises a simple HTTP/HTTPS client implementation.") | |
313 | (home-page "https://gitlab.linphone.org/BC/public/belle-sip") | |
314 | (license license:gpl2+))) | |
b6b3a6a6 RG |
315 | |
316 | (define-public mediastreamer2 | |
317 | (package | |
318 | (name "mediastreamer2") | |
319 | (version "2.16.1") | |
320 | (source | |
321 | (origin | |
322 | (method url-fetch) | |
323 | (uri | |
324 | (string-append "https://www.linphone.org/releases/sources/" | |
325 | "mediastreamer/mediastreamer-" version ".tar.gz")) | |
326 | (sha256 | |
2c56aeae | 327 | (base32 "0whpqr69wz0pnzvragkpfblxhd0rds8k06c3mw5a0ag216a1yd9k")) |
fe6ccb85 MC |
328 | (patches (search-patches "mediastreamer2-srtp2.patch")))) |
329 | (outputs '("out" "doc" "tester")) | |
b6b3a6a6 RG |
330 | (build-system cmake-build-system) |
331 | (arguments | |
332 | `(#:tests? #f ; No test target | |
333 | #:configure-flags | |
334 | (list | |
335 | "-DENABLE_STATIC=NO" ; Not required | |
336 | "-DENABLE_STRICT=NO" ; Would otherwise treat warnings as err | |
337 | "-DENABLE_BV16=NO" ; Not available | |
338 | "-DCMAKE_C_FLAGS=-DMS2_GIT_VERSION=\\\"unknown\\\"" | |
fe6ccb85 MC |
339 | "-DCMAKE_CXX_FLAGS=-DMS2_GIT_VERSION=\\\"unknown\\\"") |
340 | #:phases | |
341 | (modify-phases %standard-phases | |
342 | (add-after 'install 'separate-outputs | |
343 | (lambda* (#:key outputs #:allow-other-keys) | |
344 | (let* ((out (assoc-ref outputs "out")) | |
345 | (doc (assoc-ref outputs "doc")) | |
346 | (tester (assoc-ref outputs "tester")) | |
347 | (tester-name (string-append ,name "_tester"))) | |
348 | ;; Copy the tester executable. | |
349 | (mkdir-p (string-append tester "/bin")) | |
350 | (rename-file (string-append out "/bin/" tester-name) | |
351 | (string-append tester "/bin/" tester-name)) | |
352 | ;; Copy the tester data files. | |
353 | (copy-recursively (string-append out "/share/" tester-name) | |
354 | (string-append tester "/share/" tester-name)) | |
355 | (delete-file-recursively (string-append out "/share/" | |
356 | tester-name)) | |
357 | ;; Copy the HTML documentation. | |
358 | (copy-recursively (string-append out "/share/doc/" | |
359 | ,name "-" ,version "/html") | |
360 | (string-append doc "/share/doc/" | |
361 | ,name "-" ,version "/html")) | |
362 | (delete-file-recursively (string-append out "/share/doc/" | |
363 | ,name "-" ,version | |
364 | "/html")) | |
365 | #t)))))) | |
b6b3a6a6 RG |
366 | (native-inputs |
367 | `(("dot" ,graphviz) | |
368 | ("doxygen" ,doxygen) | |
369 | ("python" ,python))) | |
370 | (inputs | |
371 | `(("alsa" ,alsa-lib) | |
372 | ("bcg729" ,bcg729) | |
373 | ("bcmatroska2" ,bcmatroska2) | |
374 | ("bctoolbox" ,bctoolbox) | |
375 | ("ffmpeg" ,ffmpeg) | |
376 | ("glew" ,glew) | |
377 | ("glu" ,glu) | |
378 | ("glx" ,mesa-utils) | |
379 | ("gsm" ,gsm) | |
380 | ("opengl" ,mesa) | |
381 | ("opus" ,opus) | |
382 | ("ortp" ,ortp) | |
383 | ("pcap" ,libpcap) | |
384 | ("portaudio" ,portaudio) | |
385 | ("pulseaudio" ,pulseaudio) | |
386 | ("spandsp" ,spandsp) | |
387 | ("speex" ,speex) | |
388 | ("speexdsp" ,speexdsp) | |
389 | ("srtp" ,libsrtp) | |
390 | ("theora" ,libtheora) | |
391 | ("turbojpeg" ,libjpeg-turbo) | |
392 | ("v4l" ,v4l-utils) | |
393 | ("vpx" ,libvpx) | |
394 | ("x11" ,libx11) | |
395 | ("xv" ,libxv) | |
396 | ("zrtp", bzrtp))) | |
397 | (synopsis "Belledonne Communications Streaming Engine") | |
fe6ccb85 MC |
398 | (description "Mediastreamer2 is a powerful and lightweight |
399 | streaming engine for telephony applications. This media processing | |
400 | and streaming toolkit is responsible for receiving and sending all | |
401 | multimedia streams in Linphone, including media capture, encoding and | |
402 | decoding, and rendering.") | |
b6b3a6a6 RG |
403 | (home-page "https://gitlab.linphone.org/BC/public/mediastreamer2") |
404 | (license license:gpl2+))) | |
9732910d RG |
405 | |
406 | (define-public liblinphone | |
407 | (package | |
408 | (name "liblinphone") | |
409 | (version "3.12.0") | |
410 | (source | |
411 | (origin | |
412 | (method url-fetch) | |
413 | (uri | |
414 | (string-append "https://www.linphone.org/releases/sources/linphone" | |
415 | "/linphone-" version ".tar.gz")) | |
416 | (sha256 | |
417 | (base32 "0phhkx55xdyg28d4wn8l8q4yvsmdgzmjiw584d4s190sq1azm91x")))) | |
418 | (build-system cmake-build-system) | |
419 | (arguments | |
420 | `(#:tests? #f ; No test target | |
421 | #:configure-flags | |
422 | (list | |
02b32cdd DM |
423 | (string-append "-DGTK2_GDKCONFIG_INCLUDE_DIR=" |
424 | (string-append (assoc-ref %build-inputs "gtk2") | |
425 | "/lib/gtk-2.0/include")) | |
426 | (string-append "-DGTK2_GLIBCONFIG_INCLUDE_DIR=" | |
427 | (string-append (assoc-ref %build-inputs "glib") | |
428 | "/lib/glib-2.0/include")) | |
429 | "-DENABLE_STATIC=NO" ; Not required | |
430 | "-DENABLE_GTK_UI=YES") ; For Legacy UI | |
431 | #:phases | |
432 | (modify-phases %standard-phases | |
433 | (add-after 'unpack 'patch | |
434 | (lambda _ | |
435 | (substitute* "gtk/main.c" | |
436 | (("#include \"liblinphone_gitversion.h\"") | |
437 | "")) | |
438 | #t))))) | |
9732910d RG |
439 | (native-inputs |
440 | `(("dot" ,graphviz) | |
441 | ("doxygen" ,doxygen) | |
442 | ("gettext" ,gettext-minimal) | |
443 | ("iconv" ,libiconv) | |
444 | ("python" ,python) | |
445 | ("xml2" ,libxml2) | |
446 | ("zlib" ,zlib))) | |
447 | (inputs | |
448 | `(("bctoolbox" ,bctoolbox) | |
449 | ("belcard" ,belcard) | |
450 | ("bellesip" ,belle-sip) | |
451 | ("bzrtp", bzrtp) | |
02b32cdd DM |
452 | ("glib" ,glib) |
453 | ("gtk2" ,gtk+-2) | |
9732910d | 454 | ("mediastreamer2" ,mediastreamer2) |
02b32cdd | 455 | ("notify" ,libnotify) |
9732910d RG |
456 | ("ortp" ,ortp) |
457 | ("pystache" ,python-pystache) | |
458 | ("six" ,python-six) | |
459 | ("sqlite" ,sqlite) | |
460 | ("udev" ,eudev))) | |
02b32cdd DM |
461 | (propagated-inputs |
462 | `(("murrine" ,murrine))) ; Required for GTK UI | |
9732910d RG |
463 | (synopsis "Belledonne Communications Softphone Library") |
464 | (description "Liblinphone is a high-level SIP library integrating | |
465 | all calling and instant messaging features into an unified | |
466 | easy-to-use API. It is the cross-platform VoIP library on which the | |
467 | Linphone application is based on, and that anyone can use to add audio | |
468 | and video calls or instant messaging capabilities to an application.") | |
469 | (home-page "https://gitlab.linphone.org/BC/public/liblinphone") | |
470 | (license license:gpl2+))) | |
14e73f8f RG |
471 | |
472 | (define-public msopenh264 | |
473 | (package | |
474 | (name "msopenh264") | |
475 | (version "1.2.1") | |
476 | (source | |
477 | (origin | |
478 | (method url-fetch) | |
479 | (uri | |
480 | (string-append "https://www.linphone.org/releases/sources/plugins/" | |
481 | name "/" name "-" version ".tar.gz")) | |
482 | (sha256 | |
483 | (base32 "0rdxgazm52560g52pp6mp3mwx6j1z3h2zyizzfycp8y8zi92fqm8")) | |
484 | (patches | |
485 | (list | |
486 | ;; For support for OpenH264 version >= 2. | |
487 | (origin | |
488 | (method url-fetch) | |
489 | (uri | |
490 | (string-append "https://gitlab.linphone.org/BC/public/msopenh264/commit/" | |
491 | "493d147d28c9a0f788ba4e50b47a1ce7b18bf326.diff")) | |
492 | (file-name "msopenh264-openh264.patch") | |
493 | (sha256 | |
494 | (base32 "0mmd7nz5n9ian4rcwn200nldmy5j0dpdrna7r32rqnaw82bx3kdb"))))))) | |
495 | (build-system cmake-build-system) | |
496 | (arguments | |
497 | `(#:tests? #f ; No test target | |
498 | #:configure-flags | |
499 | (list | |
500 | "-DENABLE_STATIC=NO"))) ; Not required | |
501 | (inputs | |
502 | `(("mediastreamer2" ,mediastreamer2) | |
503 | ("openh264" ,openh264) | |
504 | ("ortp" ,ortp))) | |
505 | (synopsis "Media Streamer H.264 Codec") | |
506 | (description "MsOpenH264 is an H.264 encoder/decoder plugin for | |
507 | mediastreamer2 based on the openh264 library.") | |
508 | (home-page "https://gitlab.linphone.org/BC/public/msopenh264") | |
509 | (license license:gpl2+))) | |
f689d3d7 RG |
510 | |
511 | (define-public mssilk | |
512 | (package | |
513 | (name "mssilk") | |
514 | (version "1.1.1") | |
515 | (source | |
516 | (origin | |
517 | (method url-fetch) | |
518 | (uri | |
519 | (string-append "https://www.linphone.org/releases/sources/plugins/" | |
520 | name "/" name "-" version ".tar.gz")) | |
521 | (sha256 | |
522 | (base32 "07ip0vd29d1n98lnqs5wpimcsmpm65yl7g5vk4hbqghcbsjw94lj")))) | |
523 | (build-system cmake-build-system) | |
524 | (arguments | |
525 | `(#:tests? #f ; No test target | |
526 | #:configure-flags | |
527 | (list | |
528 | "-DENABLE_STATIC=NO"))) ; Not required | |
529 | (inputs | |
530 | `(("mediastreamer2" ,mediastreamer2) | |
531 | ("ortp" ,ortp))) | |
532 | (synopsis "Media Streamer SILK Codec") | |
533 | (description "MSSILK is a plugin of MediaStreamer, adding support for | |
534 | AMR codec. It is based on the Skype's SILK implementation.") | |
535 | (home-page "https://gitlab.linphone.org/BC/public/mssilk") | |
536 | (license license:gpl2+))) | |
fe8f1c0b RG |
537 | |
538 | (define-public mswebrtc | |
539 | (package | |
540 | (name "mswebrtc") | |
541 | (version "1.1.1") | |
542 | (source | |
543 | (origin | |
544 | (method url-fetch) | |
545 | (uri | |
546 | (string-append "https://www.linphone.org/releases/sources/plugins/" | |
547 | name "/" name "-" version ".tar.gz")) | |
548 | (sha256 | |
549 | (base32 "1wj28hl9myhshqmn64xg0jf07aw75gmnilb5rff6rcbdxim87mqr")))) | |
550 | (build-system cmake-build-system) | |
551 | (arguments | |
552 | `(#:tests? #f ; No test target | |
553 | #:configure-flags | |
554 | (list | |
555 | "-DENABLE_STATIC=NO"))) | |
556 | (inputs | |
557 | `(("bctoolbox" ,bctoolbox) | |
558 | ("mediastreamer2" ,mediastreamer2) | |
559 | ("ortp" ,ortp))) | |
560 | (synopsis "Media Streamer WebRTC Codec") | |
561 | (description "MSWebRTC is a plugin of MediaStreamer, adding support for | |
562 | WebRTC codec. It includes features from WebRTC, such as, iSAC and AECM.") | |
563 | (home-page "https://gitlab.linphone.org/BC/public/mswebrtc") | |
564 | (license license:gpl2+))) | |
b8920169 RG |
565 | |
566 | (define-public msamr | |
567 | (package | |
568 | (name "msamr") | |
569 | (version "1.1.3") | |
570 | (source | |
571 | (origin | |
572 | (method url-fetch) | |
573 | (uri | |
574 | (string-append "https://www.linphone.org/releases/sources/plugins/" | |
575 | name "/" name "-" version ".tar.gz")) | |
576 | (sha256 | |
577 | (base32 "16c9f3z4wnj73k7y8gb0fgpr4axsm7b5zrbjvy8vsgz9gyg3agm5")))) | |
578 | (build-system cmake-build-system) | |
579 | (arguments | |
580 | `(#:tests? #f ; No test target | |
581 | #:configure-flags | |
582 | (list | |
583 | "-DENABLE_STATIC=NO" ; Not required | |
584 | "-DENABLE_WIDEBAND=YES"))) | |
585 | (inputs | |
586 | `(("mediastreamer2" ,mediastreamer2) | |
587 | ("opencoreamr" ,opencore-amr) | |
588 | ("ortp" ,ortp) | |
589 | ("voamrwbenc" ,vo-amrwbenc))) | |
590 | (synopsis "Media Streamer AMR Codec") | |
591 | (description "MSAMR is a plugin of MediaStreamer, adding support for | |
592 | AMR codec. It is based on the opencore-amr implementation.") | |
593 | (home-page "https://gitlab.linphone.org/BC/public/msamr") | |
594 | (license license:gpl3+))) |