[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add mediainfo.
From: |
Ludovic Courtès |
Subject: |
04/06: gnu: Add mediainfo. |
Date: |
Wed, 31 May 2017 11:09:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d5fa27774ce812c28370490417d446bc2f5b423e
Author: Ethan R. Jones <address@hidden>
Date: Sat May 27 11:42:46 2017 -0400
gnu: Add mediainfo.
* gnu/packages/video.scm (mediainfo): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/video.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index cacf418..ac2eec5 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2114,3 +2114,42 @@ MPEG-2, MPEG-4, DVD (VOB)...
@end itemize\n")
(license license:bsd-2)))
+;; TODO also have a GUI version available
+(define-public mediainfo
+ (package
+ (name "mediainfo")
+ (version "0.7.95")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://mediaarea.net/download/source/"
+ name "/" version "/"
+ name "_" version ".tar.bz2"))
+ (sha256
+ (base32
+ "0dy51a3i79jppmg1gi4f6h7jx4hcgnkmfim4d7d3gmnlbkjh8anv"))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("zlib" ,zlib)
+ ("libmediainfo", libmediainfo)
+ ("libzen" ,libzen)))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; lacks tests
+ #:phases
+ ;; build scripts not in root of archive
+ (modify-phases %standard-phases
+ (add-before 'configure 'pre-configure
+ (lambda _
+ (chdir "Project/GNU/CLI")))
+ (add-before 'configure 'autogen
+ (lambda _
+ (zero? (system* "./autogen.sh")))))))
+ (home-page "https://mediaarea.net/en/MediaInfo")
+ (synopsis "Utility for reading media metadata")
+ (description "MediaInfo is a utility used for retrieving technical
+information and other metadata about audio or video files. It supports the
+many codecs and formats supported by libmediainfo.")
+ (license license:bsd-2)))
- branch master updated (bbc4167 -> 208abec), Ludovic Courtès, 2017/05/31
- 01/06: tests: Fix race condition in 'container-excursion*' test., Ludovic Courtès, 2017/05/31
- 04/06: gnu: Add mediainfo.,
Ludovic Courtès <=
- 05/06: gnu: font-go: Update to 20170330-1.f03a046., Ludovic Courtès, 2017/05/31
- 03/06: gnu: Add libmediainfo, Ludovic Courtès, 2017/05/31
- 02/06: gnu: Add libzen., Ludovic Courtès, 2017/05/31
- 06/06: gnu: font-iosevka: Update to 1.12.5., Ludovic Courtès, 2017/05/31