From 204cb04d8a4e5dd746a3ad9f1a37324070379ff9 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 29 Sep 2025 20:40:53 +0900 Subject: [PATCH] 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 --- gnu/packages/linphone.scm | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index 05327333134..14e2dbf9307 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -239,16 +239,16 @@ IETF.") (define-public belcard (package (name "belcard") - (version "5.3.57") + (version "5.3.112") (source (origin (method git-fetch) (uri (git-reference - (url "https://gitlab.linphone.org/BC/public/belcard.git") - (commit version))) + (url "https://gitlab.linphone.org/BC/public/belcard.git") + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1d69s7v3yd276nasfxnsjp3q820pcchdpdpw4y7ak7sf6gr6mrrh")))) + (base32 "190l1f7f2dhm887xw34gcawa9c4cmcndikfd8qc1xpn16fals4kd")))) (build-system cmake-build-system) (outputs '("out" "debug" "tester")) (arguments @@ -258,12 +258,10 @@ IETF.") #~(modify-phases %standard-phases (add-after 'unpack 'patch-vcard-grammar-location (lambda _ - (let ((vcard-grammar - (string-append #$output - "/share/belr/grammars/vcard_grammar"))) - (substitute* "include/belcard/vcard_grammar.hpp" - (("define VCARD_GRAMMAR \"vcard_grammar\"") - (format #f "define VCARD_GRAMMAR ~s" vcard-grammar)))))) + (substitute* "include/belcard/vcard_grammar.hpp" + (("define VCARD3?_GRAMMAR \"" all) + (string-append all (string-append + #$output "/share/belr/grammars/")))))) (add-after 'install 'install-tester (lambda _ (let ((test-name (string-append #$name "-tester")))