>From d901b1096d40889dbadc39f5291f242bf5626df3 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 23 Oct 2016 21:59:23 +0200 Subject: [PATCH 2/4] gnu: Add ffms2. * gnu/packages/video.scm (ffms2): New variable. --- gnu/packages/video.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index bd82eb8..d6da6c0 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -586,6 +586,32 @@ audio/video codec library.") flag)) ,flags)))))) +(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 + (define-public vlc (package (name "vlc") -- 2.10.1