From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dA6D0-0002NH-QS for guix-patches@gnu.org; Sun, 14 May 2017 22:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dA6Cx-0000pt-02 for guix-patches@gnu.org; Sun, 14 May 2017 22:58:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dA6Cw-0000pe-Rm for guix-patches@gnu.org; Sun, 14 May 2017 22:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dA6Cw-0006Hv-Il for guix-patches@gnu.org; Sun, 14 May 2017 22:58:02 -0400 Subject: bug#26933: [PATCH 2/3] gnu: video: add libmediainfo Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dA6CJ-00023w-C0 for guix-patches@gnu.org; Sun, 14 May 2017 22:57:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dA6CI-0000M3-Ip for guix-patches@gnu.org; Sun, 14 May 2017 22:57:23 -0400 Received: from mail-yw0-x242.google.com ([2607:f8b0:4002:c05::242]:35092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dA6CI-0000Lr-FF for guix-patches@gnu.org; Sun, 14 May 2017 22:57:22 -0400 Received: by mail-yw0-x242.google.com with SMTP id p144so4949313ywp.2 for ; Sun, 14 May 2017 19:57:22 -0700 (PDT) From: "Ethan R. Jones" Date: Sun, 14 May 2017 22:57:00 -0400 Message-Id: <20170515025701.2492-2-doubleplusgood23@gmail.com> In-Reply-To: <20170515025701.2492-1-doubleplusgood23@gmail.com> References: <20170515025701.2492-1-doubleplusgood23@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26933@debbugs.gnu.org Cc: "Ethan R. Jones" --- 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