summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-08 14:45:23 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-08 20:05:05 +0200
commit291b787461947295c9c67cc1f412030398cd9609 (patch)
tree9d15e94562d0a3a1bf8fecbed34066ee986306f6
parent9946badad1e3fd918932806ad963dcc6cfc00428 (diff)
downloadguix-291b787461947295c9c67cc1f412030398cd9609.tar.gz
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.
-rw-r--r--gnu/packages/linphone.scm19
1 files 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