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.
This commit is contained in:
Ricardo Wurmus 2023-04-08 14:45:23 +02:00
parent 9946badad1
commit 291b787461
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -297,7 +297,7 @@ (define-public belcard
(define-public bcmatroska2
(package
(name "bcmatroska2")
(version "0.23")
(version "5.2.1")
(source
(origin
(method git-fetch)
@ -306,11 +306,22 @@ (define-public bcmatroska2
(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