@@ -25,7 +25,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages avahi)
#:use-module (gnu packages base)
- #:use-module (gnu packages codesynthesis)
+ #:use-module (gnu packages cpp)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
@@ -739,36 +739,34 @@ device.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.linphone.org/BC/public/liblinphone")
+ (url "https://gitlab.linphone.org/BC/public/liblinphone.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1lwabr93jw24y04pdqnw9dgg8jb3lzfplyx19f83jgp9dj8kmfq9"))))
- (outputs '("out" "test"))
+ (outputs '("out" "tester"))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; Tests require networking
- #:configure-flags
- (list
- "-DENABLE_STATIC=NO"
- "-DENABLE_LDAP=YES")
+ #:configure-flags (list "-DENABLE_STATIC=NO"
+ "-DENABLE_DOC=NO" ;requires unpackaged javasphinx
+ "-DENABLE_LDAP=YES")
#:phases
(modify-phases %standard-phases
(add-after 'install 'separate-outputs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (test (assoc-ref outputs "test"))
- (test-name (string-append ,name "_tester")))
+ (tester (assoc-ref outputs "tester"))
+ (tester-name (string-append ,name "_tester")))
(for-each mkdir-p
- `(,(string-append test "/bin")
- ,(string-append test "/share")))
- (rename-file
- (string-append out "/bin/" test-name)
- (string-append test "/bin/" test-name))
- (rename-file
- (string-append out "/share/" test-name)
- (string-append test "/share/" test-name)))
- #t)))))
+ (list (string-append tester "/bin")
+ (string-append tester "/share")))
+ (rename-file (string-append out "/bin/" tester-name)
+ (string-append tester "/bin/" tester-name))
+ (rename-file (string-append out "/bin/groupchat_benchmark")
+ (string-append tester "/bin/groupchat_benchmark"))
+ (rename-file (string-append out "/share/" tester-name)
+ (string-append tester "/share/" tester-name))))))))
(native-inputs
`(("dot" ,graphviz)
("doxygen" ,doxygen)