guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: gst-plugins-bad: Build with system usrsctp.


From: guix-commits
Subject: 02/06: gnu: gst-plugins-bad: Build with system usrsctp.
Date: Tue, 5 Oct 2021 13:53:30 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 3cf6f92f09234c1cfff34870c4a7307297cda01a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Oct 4 23:50:51 2021 +0200

    gnu: gst-plugins-bad: Build with system usrsctp.
    
    * gnu/packages/gstreamer.scm (gst-plugins-bad)[source](modules, snippet): 
New
    fields.
    [arguments]: Add #:configure-flags.
    [inputs]: Add USRSCTP.
---
 gnu/packages/gstreamer.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index c734d0c..3f5edbe 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -685,10 +685,16 @@ model to base your own plug-in on, here it is.")
               (patches (search-patches "gst-plugins-bad-fix-overflow.patch"))
               (sha256
                (base32
-                "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))))
+                "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; Delete bundled copy of usrsctp.
+                  (delete-file-recursively "ext/sctp/usrsctp")))))
     (build-system meson-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags '("-Dsctp-internal-usrsctp=disabled")
+       #:phases
        (modify-phases %standard-phases
          ,@%common-gstreamer-phases
          ,@(if (string-prefix? "arm" (or (%current-target-system)
@@ -773,6 +779,7 @@ model to base your own plug-in on, here it is.")
        ("soundtouch" ,soundtouch)
        ;; GStreamer is not yet compatible with srt > 1.4.1.
        ("srt" ,srt-1.4.1)
+       ("usrsctp" ,usrsctp)
        ("x265" ,x265)
        ("webrtc-audio-processing" ,webrtc-audio-processing)
        ("wayland" ,wayland)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]