mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: vimb: Use G-expressions and cc-for-target.
* gnu/packages/web-browsers.scm (vimb)[arguments]: Use G-expressions and cc-for-target. Change-Id: I701e9d5d6dc12856d49e5c794a535b966fff7810
This commit is contained in:
parent
becf331253
commit
002df8abd2
1 changed files with 13 additions and 12 deletions
|
@ -22,6 +22,7 @@
|
|||
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||
;;; Copyright © 2021 Christopher Howard <christopher@librehacker.com>
|
||||
;;; Copyright © 2023 Herman Rimm <herman@rimm.ee>
|
||||
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -571,18 +572,18 @@ (define-public vimb
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system glib-or-gtk-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no tests
|
||||
#:make-flags (list "CC=gcc"
|
||||
"DESTDIR="
|
||||
(string-append "PREFIX=" %output))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-after 'unpack 'fix-config-mk
|
||||
(lambda* _
|
||||
(substitute* "config.mk"
|
||||
(("webkit2gtk-4\\.1")
|
||||
"webkit2gtk-4.0")))))))
|
||||
(list #:tests? #f ; no tests
|
||||
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
||||
"DESTDIR="
|
||||
(string-append "PREFIX=" #$output))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-after 'unpack 'fix-config-mk
|
||||
(lambda* _
|
||||
(substitute* "config.mk"
|
||||
(("webkit2gtk-4\\.1")
|
||||
"webkit2gtk-4.0")))))))
|
||||
(inputs
|
||||
`(("glib-networking" ,glib-networking)
|
||||
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
||||
|
|
Loading…
Reference in a new issue