gnu: vimb: Update to 3.7.0.

* gnu/packages/web-browsers.scm (vimb): Update to 3.7.0.
[arguments]<#:phases>: Add fix-config-mk phase.

Change-Id: Ia89eb9588cd7eeda1bad29cf0d6e33f75ff5970c
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
This commit is contained in:
unwox via Guix-patches via 2024-02-27 21:16:40 +06:00 committed by Zheng Junjie
parent 780fdb61f6
commit becf331253
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -559,7 +559,7 @@ (define-public qutebrowser
(define-public vimb (define-public vimb
(package (package
(name "vimb") (name "vimb")
(version "3.6.0") (version "3.7.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -567,7 +567,7 @@ (define-public vimb
(url "https://github.com/fanglingsu/vimb/") (url "https://github.com/fanglingsu/vimb/")
(commit version))) (commit version)))
(sha256 (sha256
(base32 "0228khh3lqbal046k6akqah7s5igq9s0wjfjbdjam75kjj42pbhj")) (base32 "1yazd0hm6vsz7sqp5qf3zzjmvqs3can6sbm2ijlfcj4v3kz42vrm"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments
@ -577,7 +577,12 @@ (define-public vimb
(string-append "PREFIX=" %output)) (string-append "PREFIX=" %output))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) (delete 'configure)
(add-after 'unpack 'fix-config-mk
(lambda* _
(substitute* "config.mk"
(("webkit2gtk-4\\.1")
"webkit2gtk-4.0")))))))
(inputs (inputs
`(("glib-networking" ,glib-networking) `(("glib-networking" ,glib-networking)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)