all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ethan R. Jones" <doubleplusgood23@gmail.com>
To: 26933@debbugs.gnu.org
Cc: "Ethan R. Jones" <doubleplusgood23@gmail.com>
Subject: bug#26933: [PATCH 2/3] gnu: video: add libmediainfo
Date: Sun, 14 May 2017 22:57:00 -0400	[thread overview]
Message-ID: <20170515025701.2492-2-doubleplusgood23@gmail.com> (raw)
In-Reply-To: <20170515025701.2492-1-doubleplusgood23@gmail.com>

---
 gnu/packages/video.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 1eaba0dd5..d04bfab96 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2101,3 +2101,49 @@ practically any type of media.")
     (description "Shared library for libmediainfo and mediainfo.")
     (license license:bsd-2)))
 
+(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"))
+              (file-name (string-append name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1kchh6285b07z5nixv619hc9gml2ysdayicdiv30frrlqiyxqw4b"))))
+    (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 ; test currently requires an external video file
+       #: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 mediainfo")
+    (description "Shared library for mediainfo.")
+    (license license:bsd-2)))
+
-- 
2.13.0

  reply	other threads:[~2017-05-15  2:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-15  2:56 bug#26934: [PATCH 1/3] gnu: video: add libzen Ethan R. Jones
2017-05-15  2:57 ` Ethan R. Jones [this message]
2017-05-15  2:57 ` bug#26935: [PATCH 3/3] gnu: video: add mediainfo Ethan R. Jones
2017-05-17 13:20 ` bug#26934: [PATCH 1/3] gnu: video: add libzen Ludovic Courtès
2017-05-17 23:47 ` bug#26934: " Ethan R. Jones
2017-05-18  9:04   ` Ludovic Courtès
2017-05-23 20:52 ` Ethan R. Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170515025701.2492-2-doubleplusgood23@gmail.com \
    --to=doubleplusgood23@gmail.com \
    --cc=26933@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.