gnu: colord: Record the file name of the "sqlite3" command.
* gnu/packages/gnome.scm (colord)[arguments]: Add 'set-sqlite3-file-name' phase.
This commit is contained in:
parent
27727b18b8
commit
2a1f3e3f0f
1 changed files with 10 additions and 1 deletions
|
@ -3059,7 +3059,16 @@ keyboard shortcuts.")
|
||||||
(substitute* "rules/meson.build"
|
(substitute* "rules/meson.build"
|
||||||
(("udev.get_pkgconfig_variable\\('udevdir'\\)")
|
(("udev.get_pkgconfig_variable\\('udevdir'\\)")
|
||||||
(string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
|
(string-append "'" (assoc-ref outputs "out") "/lib/udev'")))
|
||||||
#t)))))
|
#t))
|
||||||
|
(add-before 'configure 'set-sqlite3-file-name
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
;; "colormgr dump" works by invoking the "sqlite3" command.
|
||||||
|
;; Record its absolute file name.
|
||||||
|
(let ((sqlite (assoc-ref inputs "sqlite")))
|
||||||
|
(substitute* "client/cd-util.c"
|
||||||
|
(("\"sqlite3\"")
|
||||||
|
(string-append "\"" sqlite "/bin/sqlite3\"")))
|
||||||
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
|
`(("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
|
Reference in a new issue