gnu: linphone-desktop: Fix linphone accounts functionality.

The Linphone accounts were not able to do TLS authentication against the
Linphone servers, and multiple plugins used by the Linphone accounts were not
loaded.  This change should fix this.

* gnu/packages/linphone.scm (linphone-desktop)[phases](post-install): Modify phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Raghav Gururajan 2021-03-29 03:19:09 -04:00 committed by Maxim Cournoyer
parent 7162e5b882
commit 6aaa8269b8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -839,10 +839,14 @@ (define-public linphone-desktop
;; Remove unnecessary Qt configuration file.
(delete-file (string-append out "/bin/qt.conf"))
;; Not using the FHS exposes an issue where the client
;; refers to its own "share" directory, which lacks files
;; refers to its own directories, which lacks files
;; installed by the dependencies.
(symlink (string-append liblinphone "/lib")
(string-append out "/lib"))
(symlink (string-append liblinphone "/share/sounds")
(string-append out "/share/sounds"))
(symlink (string-append liblinphone "/share/linphone/rootca.pem")
(string-append out "/share/linphone/rootca.pem"))
(mkdir-p (dirname grammar-dest))
(symlink (string-append liblinphone "/share/belr/grammars")
grammar-dest)))))))