guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/26: gnu: bcmatroska2: Update to 5.2.1.


From: guix-commits
Subject: 16/26: gnu: bcmatroska2: Update to 5.2.1.
Date: Sun, 9 Apr 2023 05:06:37 -0400 (EDT)

rekado pushed a commit to branch core-updates
in repository guix.

commit 291b787461947295c9c67cc1f412030398cd9609
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Apr 8 14:45:23 2023 +0200

    gnu: bcmatroska2: Update to 5.2.1.
    
    * gnu/packages/linphone.scm (bcmatroska2): Update to 5.2.1.
    [inputs]: Add bctoolbox.
    [arguments]: Add build phase to patch build system.
---
 gnu/packages/linphone.scm | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index 26390b1c38..5883c75976 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -297,7 +297,7 @@ format.")
 (define-public bcmatroska2
   (package
     (name "bcmatroska2")
-    (version "0.23")
+    (version "5.2.1")
     (source
      (origin
        (method git-fetch)
@@ -306,11 +306,22 @@ format.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1avl9w18kh4dxm3g8j0bkw39bksd7bz3nfxvyibqqnz63ds8vfi2"))))
+        (base32 "14c79znw37q3yc7llbv2wmxmm4a3ws6iq3cvgkbmcnf7hmhm7zdi"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f                                     ; No test target
-       #:configure-flags (list "-DENABLE_STATIC=NO"))) ; Not required
+     (list
+      #:tests? #f                                     ;No test target
+      #:phases
+      '(modify-phases %standard-phases
+         ;; See
+         ;; 
https://gitlab.linphone.org/BC/public/bcmatroska2/-/merge_requests/18
+         (add-after 'unpack 'fix-build-system
+           (lambda _
+             (substitute* "corec/corec/CMakeLists.txt"
+               (("helpers/file/file_libc.c") "")))))
+      #:configure-flags
+      '(list "-DENABLE_STATIC=NO"))) ;Not required
+    (inputs (list bctoolbox))
     (synopsis "Belledonne Communications Media Container")
     (description "BcMatroska is a free and open standard multi-media container
 format.  It can hold an unlimited number of video, audio, picture, or subtitle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]