guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 80ccb5cba7c586ba8440690edcbce092286cc011
Author: Ghislain Vaillant <[email protected]>
AuthorDate: Sun Nov 8 21:11:42 2026 +0100
gnu: pitivi: Make build reproducible.
* gnu/packages/video.scm (pitivi)[arguments]<phases>
{make-build-reproducible}: Add after 'unpack.
Merges: https://codeberg.org/guix/guix/pulls/12407
Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
gnu/packages/video.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b4249521648..422a221bbee 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -6247,6 +6247,12 @@ tools for styling them, including a built-in real-time
video preview.")
`(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'make-build-reproducible
+ (lambda _
+ (substitute* "meson.build"
+ ;; Do not record the build directory.
+ (("cdata.*BUILDDIR.*")
+ "cdata.set('BUILDDIR', '')\n"))))
(add-after 'glib-or-gtk-wrap 'wrap-other-dependencies
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/pitivi")