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>
parent
2c65a197fc
commit
9206921aa3
|
@ -450,23 +450,27 @@ documentation.")
|
||||||
(version "5.98.0")
|
(version "5.98.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append "mirror://kde/stable/frameworks/"
|
||||||
"mirror://kde/stable/frameworks/"
|
(version-major+minor version)
|
||||||
(version-major+minor version) "/"
|
"/" name "-" version ".tar.xz"))
|
||||||
name "-" version ".tar.xz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ipj7j1iw6g56z0qppji38h6qwbs05piiqqbsw8hdbf96l6cdiq2"))))
|
"1ipj7j1iw6g56z0qppji38h6qwbs05piiqqbsw8hdbf96l6cdiq2"))))
|
||||||
(build-system cmake-build-system)
|
(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
|
(native-inputs
|
||||||
(list extra-cmake-modules))
|
(list extra-cmake-modules pkg-config))
|
||||||
;; pkg-config ;; For zstd
|
|
||||||
(inputs
|
(inputs
|
||||||
(list bzip2 qtbase-5 xz zlib))
|
(list bzip2 qtbase-5 xz zlib `(,zstd "lib")))
|
||||||
;; `(,zstd "lib") ;; FIXME: Tests fail with zstd
|
|
||||||
(home-page "https://community.kde.org/Frameworks")
|
(home-page "https://community.kde.org/Frameworks")
|
||||||
(synopsis "Qt 5 addon providing access to numerous types of archives")
|
(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.
|
manipulation of @code{archive} formats like ZIP and TAR.
|
||||||
|
|
||||||
It also provides transparent compression and decompression of data, like the
|
It also provides transparent compression and decompression of data, like the
|
||||||
|
|
Reference in New Issue