guix-commits
[Top][All Lists]
Advanced

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

02/11: gnu: rtmpdump: Update to 2.4.


From: guix-commits
Subject: 02/11: gnu: rtmpdump: Update to 2.4.
Date: Mon, 31 Aug 2020 14:35:48 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 5237aa444da9c6063a5b2a0865b22c1255d72864
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Aug 31 19:27:42 2020 +0200

    gnu: rtmpdump: Update to 2.4.
    
    * gnu/packages/networking.scm (rtmpdump): Update to 2.4.
    [arguments]: Fix RUNPATH.
---
 gnu/packages/networking.scm | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index a4c33e5..e80c192a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -259,20 +259,24 @@ GLib-based library, libnice, as well as GStreamer 
elements to use it.")
 (define-public rtmpdump
   (package
     (name "rtmpdump")
-    (version "2.3")
+    (version "2.4")
     (source
      (origin
-       (method url-fetch)
-       (uri
-        (string-append "https://rtmpdump.mplayerhq.hu/download/";
-                       name "-" version ".tgz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.ffmpeg.org/rtmpdump";)
+             (commit "c28f1bab7822de97353849e7787b59e50bbb1428")))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0b2b49a57kpz9gi8dx1x3cs8b0gjx8x0c89x0q96kkl2knlvff7g"))))
+        (base32 "1n3kdip83nvvs4sin30zpcdr5q711mqhq2lxrv5vgbc6lskpwzlj"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ; No tests
+     `(#:tests? #f                      ; no tests
        #:make-flags
        (list
+        ;; The ‘validate-runpath’ phase fails to find librtmp.so.0.
+        (string-append "LDFLAGS=-Wl,-rpath="
+                       (assoc-ref %outputs "out") "/lib")
         (string-append "prefix=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases



reply via email to

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