>From 9cb5d20c914f036619197c2d5d4a114d27f9208a Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 21 Apr 2017 23:29:06 +0200 Subject: [PATCH 2/3] gnu: Add ffms2. * gnu/packages/video.scm (ffms2): New variable. --- gnu/packages/video.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 082826aca..19446f98d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2039,3 +2039,32 @@ file format that has been used as a multimedia file format in a variety of platf applications. It is a very powerful and extensible format that can accommodate practically any type of media.") (license license:mpl1.1))) + +(define-public ffms2 + (package + (name "ffms2") + (version "2.23") + (home-page "https://github.com/FFMS/ffms2/") + (source (origin + (method url-fetch) + (uri (string-append home-page "archive/" version ".tar.gz")) + (sha256 + (base32 + "1vbkab8vrplxz5xgag8ggzkwp4f7nf285pd0l2a7zy66n6i2m6xh")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags + (list "--enable-avresample"))) + (inputs + `(("zlib" ,zlib))) + (propagated-inputs + `(("ffmpeg" ,ffmpeg))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (synopsis "Cross-plateform wrapper around ffmpeg/libav") + (description + "FFMpegSource is a wrapper library around ffmpeg/libav that allows +programmers to access a standard API to open and decompress media files") + (license license:gpl2+))); inherits from ffmpeg + ;; sources are distributed under a different license that the binary. + ;; see https://github.com/FFMS/ffms2/blob/master/COPYING -- 2.12.2