gnu: belcard: Update to 5.3.112.

* gnu/packages/linphone.scm (belcard): Update to 5.3.112.
[#:phases] {patch-vcard-grammar-location}: Adjust.

Change-Id: Ibcad5c710abf10dc2a3bd32220dcd79630a0a052
This commit is contained in:
Maxim Cournoyer 2025-09-29 20:40:53 +09:00
parent 53b5056b6b
commit 204cb04d8a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -239,7 +239,7 @@ IETF.")
(define-public belcard (define-public belcard
(package (package
(name "belcard") (name "belcard")
(version "5.3.57") (version "5.3.112")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -248,7 +248,7 @@ IETF.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1d69s7v3yd276nasfxnsjp3q820pcchdpdpw4y7ak7sf6gr6mrrh")))) (base32 "190l1f7f2dhm887xw34gcawa9c4cmcndikfd8qc1xpn16fals4kd"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(outputs '("out" "debug" "tester")) (outputs '("out" "debug" "tester"))
(arguments (arguments
@ -258,12 +258,10 @@ IETF.")
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-vcard-grammar-location (add-after 'unpack 'patch-vcard-grammar-location
(lambda _ (lambda _
(let ((vcard-grammar
(string-append #$output
"/share/belr/grammars/vcard_grammar")))
(substitute* "include/belcard/vcard_grammar.hpp" (substitute* "include/belcard/vcard_grammar.hpp"
(("define VCARD_GRAMMAR \"vcard_grammar\"") (("define VCARD3?_GRAMMAR \"" all)
(format #f "define VCARD_GRAMMAR ~s" vcard-grammar)))))) (string-append all (string-append
#$output "/share/belr/grammars/"))))))
(add-after 'install 'install-tester (add-after 'install 'install-tester
(lambda _ (lambda _
(let ((test-name (string-append #$name "-tester"))) (let ((test-name (string-append #$name "-tester")))