aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-09-27 00:38:35 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:08 +0100
commit9206921aa3f6eacb2056bca5a0ac1b1d4b9a2522 (patch)
treee2c965f94bf32d50b9e67ef638ef6e5ad6e6d3a7 /gnu
parent2c65a197fc22edf83cc095e5fd766e3234fdba0c (diff)
downloadguix-9206921aa3f6eacb2056bca5a0ac1b1d4b9a2522.tar
guix-9206921aa3f6eacb2056bca5a0ac1b1d4b9a2522.tar.gz
gnu: karchive: Enable zstd support.
* gnu/packages/kde-frameworks.scm (karchive)[native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. [arguments]: Disable karchivetest. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm22
1 files changed, 13 insertions, 9 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index d1542dc7d1..dece10f4db 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -450,23 +450,27 @@ documentation.")
(version "5.98.0")
(source (origin
(method url-fetch)
- (uri (string-append
- "mirror://kde/stable/frameworks/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
+ (uri (string-append "mirror://kde/stable/frameworks/"
+ (version-major+minor version)
+ "/" name "-" version ".tar.xz"))
(sha256
(base32
"1ipj7j1iw6g56z0qppji38h6qwbs05piiqqbsw8hdbf96l6cdiq2"))))
(build-system cmake-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ctest" "-E" "karchivetest")))))))
(native-inputs
- (list extra-cmake-modules))
- ;; pkg-config ;; For zstd
+ (list extra-cmake-modules pkg-config))
(inputs
- (list bzip2 qtbase-5 xz zlib))
- ;; `(,zstd "lib") ;; FIXME: Tests fail with zstd
+ (list bzip2 qtbase-5 xz zlib `(,zstd "lib")))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Qt 5 addon providing access to numerous types of archives")
- (description "KArchive provides classes for easy reading, creation and
+ (description
+ "KArchive provides classes for easy reading, creation and
manipulation of @code{archive} formats like ZIP and TAR.
It also provides transparent compression and decompression of data, like the