From e9701a31ff8213ae2b2caba0f1756bfaf01888a3 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 3 Jul 2020 12:10:10 -0400 Subject: [PATCH 44/51] gnu: Add rtmpdump. * gnu/packages/networking.scm (rtmpdump): New variable. --- gnu/packages/networking.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 66798bd2d2..c4357b093f 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -135,6 +135,41 @@ #:use-module (gnu packages xml) #:use-module (ice-9 match)) +(define-public rtmpdump + (package + (name "rtmpdump") + (version "2.3") + (source + (origin + (method url-fetch) + (uri + (string-append "https://rtmpdump.mplayerhq.hu/download/" + name "-" version ".tgz")) + (sha256 + (base32 "0b2b49a57kpz9gi8dx1x3cs8b0gjx8x0c89x0q96kkl2knlvff7g")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; No target + #:make-flags + (list + (string-append "prefix=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("openssl" ,openssl-1.0) + ("zlib" ,zlib))) + (synopsis "Tools and library for handling RTMP streams") + (description "RTMPdump is a toolkit for RTMP streams. All forms of RTMP are +supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.") + (home-page "https://rtmpdump.mplayerhq.hu/") + (license + (list + ;; Library. + license:lgpl2.1+ + ;; Others. + license:gpl2+)))) + (define-public srt (package (name "srt") -- 2.26.2