gnu: libextractor: Add dependencies.

* gnu/packages/gnunet.scm (libextractor): Add dependencies:
tidy-html, libmp4v2, libsmf, bzip2.
[arguments](configure-flags): Add "--with-libtidy".
* Adjust the FIXME comment section accordingly.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
This commit is contained in:
ng0 2017-02-09 13:37:03 +00:00 committed by Kei Kebreau
parent a4f05b4620
commit b0a2adddc8
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -5,7 +5,7 @@
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 ng0 <ng0@libertad.pw> ;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -44,7 +44,9 @@ (define-module (gnu packages gnunet)
#:use-module (gnu packages libunistring) #:use-module (gnu packages libunistring)
#:use-module (gnu packages maths) #:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision) #:use-module (gnu packages multiprecision)
#:use-module (gnu packages music)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages package-management)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
@ -87,13 +89,11 @@ (define-public libextractor
;; The following dependencies are all optional, but should be ;; The following dependencies are all optional, but should be
;; available for maximum coverage: ;; available for maximum coverage:
;; * libmagic (file) ;; * libmagic (file)
;; * libmp4v2 ; package it ;; * librpm (rpm) ; investigate failure
;; * librpm ; package it
;; * libsmf ; package it
;; * libtidy ; package it
;; * libgif (giflib) ; investigate failure ;; * libgif (giflib) ; investigate failure
(inputs (inputs
`(("exiv2" ,exiv2) `(("exiv2" ,exiv2)
("bzip2" ,bzip2)
("flac" ,flac) ("flac" ,flac)
("ffmpeg" ,ffmpeg) ("ffmpeg" ,ffmpeg)
("file" ,file) ;libmagic, for the MIME plug-in ("file" ,file) ;libmagic, for the MIME plug-in
@ -106,6 +106,9 @@ (define-public libextractor
("libjpeg" ,libjpeg) ("libjpeg" ,libjpeg)
("libltdl" ,libltdl) ("libltdl" ,libltdl)
("libmpeg2" ,libmpeg2) ("libmpeg2" ,libmpeg2)
("libmp4v2" ,libmp4v2)
("libsmf" ,libsmf)
("tidy-html" ,tidy-html)
("libogg" ,libogg) ("libogg" ,libogg)
("libtiff" ,libtiff) ("libtiff" ,libtiff)
("libvorbis" ,libvorbis) ("libvorbis" ,libvorbis)
@ -115,7 +118,9 @@ (define-public libextractor
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "--with-ltdl=" (list (string-append "--with-ltdl="
(assoc-ref %build-inputs "libltdl"))) (assoc-ref %build-inputs "libltdl"))
(string-append "--with-tidy="
(assoc-ref %build-inputs "tidy-html")))
#:parallel-tests? #f)) #:parallel-tests? #f))
(synopsis "Library to extract meta-data from media files") (synopsis "Library to extract meta-data from media files")
(description (description