gnu: kfilemetadata: Enable support for PDF files and audio files.

- Qt5 Multimedia module is needed to bild an extractor for audio files.
- poppler, which was defined as input, is not including the requested Qt
  support, thus poppler-qt is needed.

* gnu/packages/kde-frameworks.scm (kfilemetadata)[inuts]: Add qtmultimedia,
  replace poppler by poppler-qt5. [native-inputs]: Add pkg-config.
This commit is contained in:
Hartmut Goebel 2017-09-19 20:06:18 +02:00
parent 66e7e43450
commit fa10ae4fbb
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -1505,18 +1505,21 @@ (define-public kfilemetadata
#t)))))
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
("pkg-config" ,pkg-config)
("python-2" ,python-2)))
(inputs
`(("attr" ,attr)
;; TODO: EPub http://sourceforge.net/projects/ebook-tools
("karchive" ,karchive)
("ki18n" ,ki18n)
("qtmultimedia" ,qtmultimedia)
("qtbase" ,qtbase)
;; Required run-time packages
("catdoc" ,catdoc)
;; Optional run-time packages
("exiv2" ,exiv2)
("ffmpeg" ,ffmpeg)
("poppler" ,poppler)
("poppler-qt5" ,poppler-qt5)
("taglib" ,taglib)))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Extract metadata from different fileformats")