[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: Add libmediainfo
From: |
Ludovic Courtès |
Subject: |
03/06: gnu: Add libmediainfo |
Date: |
Wed, 31 May 2017 11:09:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e0c407074ea0d55d7a675d48ea68de72e11d4fc1
Author: Ethan R. Jones <address@hidden>
Date: Sat May 27 11:19:23 2017 -0400
gnu: Add libmediainfo
* gnu/packages/video.scm (libmediainfo): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/video.scm | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 5399334..cacf418 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2017 Chris Marusich <address@hidden>
;;; Copyright © 2017 Thomas Danckaert <address@hidden>
+;;; Copyright © 2017 Ethan R. Jones <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -58,6 +59,7 @@
#:use-module (gnu packages cdrom)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages cpp)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages dejagnu)
@@ -2052,3 +2054,63 @@ 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 libmediainfo
+ (package
+ (name "libmediainfo")
+ (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
+ "1kchh6285b07z5nixv619hc9gml2ysdayicdiv30frrlqiyxqw4b"))))
+ ;; TODO add a Big Buck Bunny webm for tests.
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("zlib" ,zlib)
+ ("tinyxml2" ,tinyxml2)
+ ("curl" ,curl)
+ ("libzen" ,libzen)))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; see above TODO
+ #:phases
+ ;; build scripts not in root of archive
+ (modify-phases %standard-phases
+ (add-before 'configure 'pre-configure
+ (lambda _
+ (chdir "Project/GNU/Library")))
+ (add-before 'configure 'autogen
+ (lambda _
+ (zero? (system* "./autogen.sh")))))))
+ (home-page "https://mediaarea.net/en/MediaInfo")
+ (synopsis "Library for retrieving media metadata")
+ (description "MediaInfo is a library used for retrieving technical
+information and other metadata about audio or video files. A non-exhaustive
+list of the information MediaInfo can retrieve from media files include:
+
address@hidden
address@hidden General: title, author, director, album, track number, date,
duration...
address@hidden Video: codec, aspect, fps, bitrate...
address@hidden Audio: codec, sample rate, channels, language, bitrate...
address@hidden Text: language of subtitle
address@hidden Chapters: number of chapters, list of chapters
address@hidden itemize
+
+MediaInfo supports the following formats:
+
address@hidden
address@hidden Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
+MPEG-2, MPEG-4, DVD (VOB)...
address@hidden Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
address@hidden Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
address@hidden Subtitles: SRT, SSA, ASS, SAMI...
address@hidden itemize\n")
+ (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, 2017/05/31
- 05/06: gnu: font-go: Update to 20170330-1.f03a046., Ludovic Courtès, 2017/05/31
- 03/06: gnu: Add libmediainfo,
Ludovic Courtès <=
- 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