From c4d6b152f51c89f15115385ed09ee4135abdefd4 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 22 Oct 2016 18:21:57 +0200 Subject: [PATCH 1/3] 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 954f142..3320a3c 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