From a974271757ea113e9b757c2f520273e774134b6a Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Mon, 29 Mar 2021 03:19:09 -0400
Subject: [PATCH] gnu: linphone-desktop: Fix functionality.
* gnu/packages/linphone.scm (linphone-desktop)[phases](post-install): Modify phase.
---
gnu/packages/linphone.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -839,10 +839,14 @@ and video calls or instant messaging capabilities to an application.")
;; 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)))))))
--
2.31.1