From 3e032569d0dfe0b2f5b184b65f5534532abda5f3 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Thu, 18 Jun 2020 12:33:53 -0400 Subject: [PATCH 53/58] 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 fffcf4f1a5..14c98ab1b5 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -131,6 +131,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