apteryx pushed a commit to branch master
in repository guix.

commit 1ea9955b524597858b25e3746b790c640adae848
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sat Mar 22 23:57:01 2025 +0900

    gnu: avidemux: Update to 2.8.1 and fix build.
    
    * gnu/packages/video.scm (avidemux): Update to 2.8.1.
    [phases] {unpack-ffmpeg}: Apply ffmpeg-4-binutils-2.41.patch patch.
    
    Fixes: bug#73240
    Reported-by: Christopher Howard <[email protected]>
    Change-Id: I003039b83511e9a2ba0e97ab169bad373babc607
---
 gnu/packages/video.scm | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 68fcb2c744..978f61565d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -50,7 +50,7 @@
 ;;; Copyright © 2021 Alexey Abramov <[email protected]>
 ;;; Copyright © 2021, 2022, 2023 Andrew Tropin <[email protected]>
 ;;; Copyright © 2021 David Wilson <[email protected]>
-;;; Copyright © 2021, 2022, 2023, 2024 Maxim Cournoyer 
<[email protected]>
+;;; Copyright © 2021-2025 Maxim Cournoyer <[email protected]>
 ;;; Copyright © 2020 Hartmut Goebel <[email protected]>
 ;;; Copyright © 2021 Raghav Gururajan <[email protected]>
 ;;; Copyright © 2021 Thiago Jung Bauermann <[email protected]>
@@ -3601,7 +3601,7 @@ for use with HTML5 video.")
 (define-public avidemux
   (package
     (name "avidemux")
-    (version "2.7.8")
+    (version "2.8.1")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -3609,7 +3609,7 @@ for use with HTML5 video.")
                     "avidemux_" version ".tar.gz"))
               (sha256
                (base32
-                "00blv5455ry3bb86zyzk1xmq3rbqmbif62khc0kq3whza97l12k2"))
+                "18ixmm18wp3vlczzdq4wfnkr5kxpz9y217dnjb0mgkl3hv5bvnbp"))
               (patches (search-patches "avidemux-install-to-lib.patch"))))
     (build-system cmake-build-system)
     (native-inputs
@@ -3639,13 +3639,18 @@ for use with HTML5 video.")
       #:phases
       ;; Make sure files inside the included ffmpeg tarball are
       ;; patch-shebanged.
-      #~(let ((ffmpeg "ffmpeg-4.2.4"))
+      #~(let ((ffmpeg "ffmpeg-4.4.2"))
           (modify-phases %standard-phases
             (add-before 'patch-source-shebangs 'unpack-ffmpeg
               (lambda _
                 (with-directory-excursion "avidemux_core/ffmpeg_package"
                   (invoke "tar" "xf" (string-append ffmpeg ".tar.bz2"))
-                  (delete-file (string-append ffmpeg ".tar.bz2")))))
+                  (delete-file (string-append ffmpeg ".tar.bz2"))
+                  (with-directory-excursion ffmpeg
+                    (invoke
+                     "patch" "-p1" "--force" "-i"
+                     #$(local-file
+                        (search-patch "ffmpeg-4-binutils-2.41.patch")))))))
             (add-after 'patch-source-shebangs 'repack-ffmpeg
               (lambda _
                 (with-directory-excursion "avidemux_core/ffmpeg_package"

Reply via email to