gnu: belle-sip: Update to 5.3.57.

* gnu/packages/linphone.scm (belle-sip): Update to 5.3.57.
[configure-flags]: Replace -DENABLE_STATIC=NO with -DBUILD_SHARED_LIBS=ON.
[phases] {separate-outputs, check}: Adjust tester file name.

Change-Id: Ie6f4fb108ae7ab1e6866608d9305f6534ed57d96
This commit is contained in:
Maxim Cournoyer 2024-06-08 23:38:09 -04:00 committed by Maxim Cournoyer
parent 6c6e21152f
commit d87c3381e3
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -479,7 +479,7 @@ including both ARM and x86.")
(define-public belle-sip (define-public belle-sip
(package (package
(name "belle-sip") (name "belle-sip")
(version "5.2.49") (version "5.3.57")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -488,12 +488,12 @@ including both ARM and x86.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0yx1qvzp11ysh24hxrvz7dm69j8zswa0xcx9m42vcv95z72166cq")))) (base32 "1jmvf1s54ppc0qfi2wl6whk7s3lghpzzp6597nblncjsr2i6ha6c"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(outputs '("out" "tester")) (outputs '("out" "tester"))
(arguments (arguments
(list (list
#:configure-flags '(list "-DENABLE_STATIC=NO" #:configure-flags '(list "-DBUILD_SHARED_LIBS=ON"
"-DENABLE_MDNS=ON" "-DENABLE_MDNS=ON"
;; We skip a test and thus have an unused ;; We skip a test and thus have an unused
;; procedure, so we need to disable -Werror. ;; procedure, so we need to disable -Werror.
@ -528,7 +528,7 @@ including both ARM and x86.")
(delete 'check) ;move after install (delete 'check) ;move after install
(add-after 'install 'separate-outputs (add-after 'install 'separate-outputs
(lambda _ (lambda _
(let ((tester-name "belle_sip_tester")) (let ((tester-name "belle-sip-tester"))
(for-each mkdir-p (list (string-append #$output:tester "/bin") (for-each mkdir-p (list (string-append #$output:tester "/bin")
(string-append #$output:tester "/share"))) (string-append #$output:tester "/share")))
(rename-file (string-append #$output "/bin") (rename-file (string-append #$output "/bin")
@ -539,7 +539,7 @@ including both ARM and x86.")
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(let ((tester (string-append #$output:tester (let ((tester (string-append #$output:tester
"/bin/belle_sip_tester"))) "/bin/belle-sip-tester")))
(for-each (lambda (suite-name) (for-each (lambda (suite-name)
(invoke tester "--suite" suite-name)) (invoke tester "--suite" suite-name))
(list "Object inheritance" (list "Object inheritance"
@ -558,8 +558,7 @@ including both ARM and x86.")
"Refresher" "Refresher"
;;"HTTP stack" ;;"HTTP stack"
"Object"))))))))) "Object")))))))))
(inputs (inputs (list avahi bctoolbox belr zlib))
(list avahi bctoolbox belr zlib))
(synopsis "Belledonne Communications SIP Library") (synopsis "Belledonne Communications SIP Library")
(description "Belle-sip is a modern library implementing SIP transport, (description "Belle-sip is a modern library implementing SIP transport,
transaction and dialog layers. It is written in C, with an object-oriented transaction and dialog layers. It is written in C, with an object-oriented