aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/kde-frameworks.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-09 11:51:02 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:32 +0800
commitcb19b5c48577a4b0bcd356b0b0b12aab95e50f99 (patch)
tree6f1b4255ce36a366e679510ff9c27ebf7c8229fa /gnu/packages/kde-frameworks.scm
parent42d69453aeeb96372a78fa31ee0efb29a371abfb (diff)
downloadguix-cb19b5c48577a4b0bcd356b0b0b12aab95e50f99.tar.gz
guix-cb19b5c48577a4b0bcd356b0b0b12aab95e50f99.zip
gnu: Add kfilemetadata-5.
* gnu/packages/kde-frameworks.scm (kfilemetadata-5): New variable. Change-Id: I2a7edc051f7d311db05bf67a76d0f28ea4f48476
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r--gnu/packages/kde-frameworks.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 4731a68c8f..f7f7c61977 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2566,6 +2566,47 @@ used by file indexers to retrieve the metadata. This library can also be used
by applications to write metadata.")
(license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))
+(define-public kfilemetadata-5
+ (package
+ (inherit kfilemetadata)
+ (name "kfilemetadata")
+ (version "5.116.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "13yfcy02rmhrhf8lxv7smk1n9rg1ywsh60hwzm94b8hq9a62qp0r"))))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ctest" "-E"
+ "(usermetadatawritertest|taglibextractortest)")))))))
+ (native-inputs (list extra-cmake-modules pkg-config))
+ (inputs
+ (list attr
+ ebook-tools
+ karchive-5
+ kconfig-5
+ kcoreaddons-5
+ ki18n-5
+ qtmultimedia-5
+ qtbase-5
+ ;; Required run-time packages
+ catdoc
+ ;; Optional run-time packages
+ exiv2
+ ffmpeg
+ poppler-qt5
+ taglib))))
+
(define-public kimageannotator
(package
(name "kimageannotator")