gnu: Add msamr.
authorRaghav Gururajan <raghavgururajan@disroot.org>
Thu, 2 Apr 2020 02:04:16 +0000 (22:04 -0400)
committerDanny Milosavljevic <dannym@scratchpost.org>
Sun, 5 Apr 2020 23:58:20 +0000 (01:58 +0200)
* gnu/packages/linphone (msamr): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
gnu/packages/linphone.scm

index 68a4e3e..5023c5f 100644 (file)
@@ -532,3 +532,33 @@ AMR codec.  It is based on the Skype's SILK implementation.")
 WebRTC codec.  It includes features from WebRTC, such as, iSAC and AECM.")
     (home-page "https://gitlab.linphone.org/BC/public/mswebrtc")
     (license license:gpl2+)))
+
+(define-public msamr
+  (package
+    (name "msamr")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://www.linphone.org/releases/sources/plugins/"
+                       name "/" name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16c9f3z4wnj73k7y8gb0fgpr4axsm7b5zrbjvy8vsgz9gyg3agm5"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f                      ; No test target
+       #:configure-flags
+       (list
+        "-DENABLE_STATIC=NO"            ; Not required
+        "-DENABLE_WIDEBAND=YES")))
+    (inputs
+     `(("mediastreamer2" ,mediastreamer2)
+       ("opencoreamr" ,opencore-amr)
+       ("ortp" ,ortp)
+       ("voamrwbenc" ,vo-amrwbenc)))
+    (synopsis "Media Streamer AMR Codec")
+    (description "MSAMR is a plugin of MediaStreamer, adding support for
+AMR codec.  It is based on the opencore-amr implementation.")
+    (home-page "https://gitlab.linphone.org/BC/public/msamr")
+    (license license:gpl3+)))