gnu: directfb: Remove timestamp to build reproducibly.
* gnu/packages/graphics.scm (directfb)[arguments]: Add 'remove-buildtime phase.
parent
ec6122250d
commit
397b103bef
|
@ -177,6 +177,11 @@ framebuffer graphics, audio output and input event.")
|
|||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-buildtime
|
||||
;; Remove embedded build time for reproducible builds
|
||||
(lambda _
|
||||
(substitute* "src/core/core.c"
|
||||
(("..BUILDTIME..") ""))))
|
||||
(add-after 'unpack 'disable-configure-during-bootstrap
|
||||
(lambda _
|
||||
(substitute* "autogen.sh"
|
||||
|
|
Reference in New Issue