From 3bb8f63e2015b124fd8540ce52cb8f2cccf50ac5 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 8 Jun 2024 23:38:09 -0400 Subject: [PATCH] gnu: bzrtp: Update to 5.3.57 and disable tests. * gnu/packages/linphone.scm (bzrtp): Update to 5.3.57. [arguments]: Use gexps. <#:configure-flags>: Replace -DENABLE_STATIC=NO with -DBUILD_SHARED_LIBS=YES. Remove -DENABLE_TESTS=YES. Add -DENABLE_DOC=YES. <#:tests?>: New argument. [inputs]: Move sqlite to... [propagated-inputs]: ... here. Change-Id: I81b6401a70621b07b3a495c7ab28088265a7f632 --- gnu/packages/linphone.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index 9d8b0bfaa2f..065917dbb9a 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -444,7 +444,7 @@ implements the RFC 3550 standard.") (define-public bzrtp (package (name "bzrtp") - (version "5.2.49") + (version "5.3.57") (source (origin (method git-fetch) @@ -453,15 +453,17 @@ implements the RFC 3550 standard.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0dvn1w0g9c07llz9n82l6qdzz8lzz74jcdm1yyfks0jy7i63cr8w")))) + (base32 "1q8w5blf2cjmzyv4bdd7zg4lv3pfjq6w6cfm6d75az4xqzg023kp")))) (build-system cmake-build-system) (arguments - `(#:configure-flags - (list - "-DENABLE_STATIC=NO" - "-DENABLE_TESTS=YES"))) - (inputs - (list bctoolbox libxml2 sqlite)) + (list + #:configure-flags #~(list "-DBUILD_SHARED_LIBS=YES" + "-DENABLE_DOC=YES") + #:tests? #f)) ;tests require external resources + (inputs (list bctoolbox libxml2)) + ;; sqlite is listed in the interface link libraries of bzrtp, and must be + ;; available at build time when using the bzrtp library. + (propagated-inputs (list sqlite)) (synopsis "Belledonne Communications ZRTP Library") (description "BZRTP is an implementation of ZRTP keys exchange protocol, written in C. It is fully portable and can be executed on many platforms