~ruther/guix-local

bcbc4cf384cb764bac092f8aad1d958b9aaece19 — ColdSideOfYourPillow 5 months ago 0971788
gnu: mpv: Remove redundant phase.

* gnu/packages/video.scm (mpv): [arguments]: Remove phase
`build-reproducibly`.

Change-Id: I60291e4bc9e644d1d846f77e79028b7858d34652
Signed-off-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
1 files changed, 1 insertions(+), 8 deletions(-)

M gnu/packages/video.scm
M gnu/packages/video.scm => gnu/packages/video.scm +1 -8
@@ 2696,14 2696,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
              (substitute* "player/lua/ytdl_hook.lua"
                (("\"yt-dlp\",")
                 (string-append
                  "\"" (search-input-file inputs "bin/yt-dlp") "\",")))))
          (add-before 'configure 'build-reproducibly
            (lambda _
              ;; Somewhere in the build system library dependencies are enumerated
              ;; and passed as linker flags, but the order in which they are added
              ;; varies.  See <https://github.com/mpv-player/mpv/issues/7855>.
              ;; Set PYTHONHASHSEED as a workaround for deterministic results.
              (setenv "PYTHONHASHSEED" "1"))))
                  "\"" (search-input-file inputs "bin/yt-dlp") "\","))))))
      #:configure-flags
      #~(list "-Dlibmpv=true"
              "-Dcdda=enabled"