From 2cc84eaf8cf8474aafbbfcf43ecfea8d282fad79 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Tue, 9 Jul 2024 12:52:52 +0800 Subject: gnu: kwave: Update to 24.05.2. * gnu/packages/kde-multimedia.scm (kwave): Update to 24.05.2. [inputs]: Remove karchive, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, ki18n, kiconthemes, kio, kservice, ktextwidgets, kwidgetsaddons, and kxmlgui; add karchive-5, kcompletion-5, kconfig-5, kconfigwidgets-5, kcoreaddons-5, kcrash-5, kdbusaddons-5, ki18n-5, kiconthemes-5, kio-5, kservice-5, ktextwidgets-5, kwidgetsaddons-5, and kxmlgui-5. [native-inputs]: Remove kdoctools; add kdoctools-5 and tzdata-for-tests. [arguments]: Add set-TZDATA phase. Change-Id: Ib0a2f64f331ab4155f37093c7b0e63337f929587 --- gnu/packages/kde-multimedia.scm | 47 +++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 18 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm index 7428cfb6e4..5323660033 100644 --- a/gnu/packages/kde-multimedia.scm +++ b/gnu/packages/kde-multimedia.scm @@ -32,6 +32,7 @@ #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages audio) + #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages cdrom) @@ -597,36 +598,37 @@ This package is part of the KDE multimedia module.") (define-public kwave (package (name "kwave") - (version "23.04.3") + (version "24.05.2") (source (origin (method url-fetch) (uri (string-append "mirror://kde/stable/release-service/" version - "/src/kwave-" version ".tar.xz")) + "/src/kwave-" version ".tar.xz")) (sha256 - (base32 "0s9w8jgwblljwfji2a19bqs3nx6sr2qzz35kwbi0ahwncy69k4jx")))) + (base32 "1g3gaxmchsf9c7zvx608wl41qs001vr1zm0cgnaim753446vb08f")))) (build-system qt-build-system) (native-inputs - (list extra-cmake-modules (librsvg-for-system) pkg-config kdoctools)) + (list extra-cmake-modules (librsvg-for-system) pkg-config kdoctools-5 + tzdata-for-tests)) (inputs (list alsa-lib audiofile flac id3lib - karchive - kcompletion - kconfig - kconfigwidgets - kcoreaddons - kcrash - kdbusaddons - ki18n - kiconthemes - kio - kservice - ktextwidgets - kwidgetsaddons - kxmlgui + karchive-5 + kcompletion-5 + kconfig-5 + kconfigwidgets-5 + kcoreaddons-5 + kcrash-5 + kdbusaddons-5 + ki18n-5 + kiconthemes-5 + kio-5 + kservice-5 + ktextwidgets-5 + kwidgetsaddons-5 + kxmlgui-5 libmad libsamplerate libvorbis @@ -636,6 +638,15 @@ This package is part of the KDE multimedia module.") qtbase-5 qtmultimedia-5 zlib)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-TZDATA + (lambda* (#:key inputs tests? #:allow-other-keys) + (setenv "TZDIR" + (search-input-directory inputs + "share/zoneinfo"))))))) (home-page "https://apps.kde.org/kwave/") (synopsis "Sound editor for KDE") (description "Kwave is a sound editor designed for the KDE Desktop -- cgit v1.2.3