From 4d4bf9ab1f9c3ce850bef9c6934a941c0337dd3b Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Fri, 1 Sep 2023 21:31:28 +0800 Subject: gnu: sound-juicer: Update to 3.40.0. * gnu/packages/gnome.scm (sound-juicer): Update to 3.40.0. [arguments]: Adjust 'disable-gtk-update-icon-cache'. Add 'wrap-program' for GST_PLUGIN_SYSTEM_PATH. [inputs]: Add bash-minimal, for wrapper. Signed-off-by: Maxim Cournoyer Reviewed-by: Maxim Cournoyer Modified-by: Maxim Cournoyer --- gnu/packages/gnome.scm | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'gnu/packages/gnome.scm') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4a2e867476..3b80692e90 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11430,7 +11430,7 @@ (define-public passwordsafe (define-public sound-juicer (package (name "sound-juicer") - (version "3.38.0") + (version "3.40.0") (source (origin (method url-fetch) @@ -11439,15 +11439,25 @@ (define-public sound-juicer name "-" version ".tar.xz")) (sha256 (base32 - "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf")))) + "1rhxmvx2mr22zd5p0azc0svi0mbnzcjnh3sasv3b9gli8ds85s1f")))) (build-system meson-build-system) (arguments (list #:glib-or-gtk? #t - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'disable-gtk-update-icon-cache - (lambda _ - (setenv "DESTDIR" "/")))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-gtk-update-icon-cache + (lambda _ + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false")))) + (add-after 'install 'wrap-program + (lambda _ + (let ((prog (string-append #$output "/bin/sound-juicer")) + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) + (wrap-program prog + `("GST_PLUGIN_SYSTEM_PATH" + ":" prefix (,gst-plugin-path))))))))) (native-inputs (list desktop-file-utils gettext-minimal @@ -11457,7 +11467,8 @@ (define-public sound-juicer pkg-config python)) (inputs - (list brasero + (list bash-minimal + brasero gsettings-desktop-schemas gst-plugins-base gst-plugins-good -- cgit v1.2.3