aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-06-12 21:11:06 +0200
committerDavid Craven <david@craven.ch>2016-08-18 13:06:19 +0200
commitb05eb5dd27c7155e644a0925fedf05815428fb85 (patch)
treeb926fb0887bf1f7273e3aa742f6f0407b1020329 /gnu
parent110db07dffc968a233cd4bea78df5b49c1e82c93 (diff)
downloadpatches-b05eb5dd27c7155e644a0925fedf05815428fb85.tar
patches-b05eb5dd27c7155e644a0925fedf05815428fb85.tar.gz
gnu: Add kfilemetadata.
* gnu/packages/kde-frameworks.scm (kfilemetadata): New variable. Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 85aad67ed9..0c3e8098eb 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -26,6 +26,7 @@
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages admin)
+ #:use-module (gnu packages attr)
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages docbook)
@@ -1194,3 +1195,33 @@ application crashes.")
(description "Provides tools to generate documentation in various format
from DocBook files.")
(license license:lgpl2.1+)))
+
+(define-public kfilemetadata
+ (package
+ (name "kfilemetadata")
+ (version "5.24.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "02n9qhpr0jlwdgdbid0k34abhs3bzhlsa56ybl5dq1aib6izk1sy"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("python-2" ,python-2)))
+ (inputs
+ `(("attr" ,attr)
+ ("karchive" ,karchive)
+ ("ki18n" ,ki18n)
+ ("qtbase" ,qtbase)))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "Extract metadata from different fileformats")
+ (description "KFileMetaData provides a simple library for extracting the
+text and metadata from a number of different files. This library is typically
+used by file indexers to retreive the metadata. This library can also be used
+by applications to write metadata.")
+ (license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))