mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: linphoneqt: Add the missing ring sound files.
* gnu/packages/linphone.scm (linphoneqt)[phases]: Add an 'extend-shared-resources phase.
This commit is contained in:
parent
7abe35febe
commit
48acdefe2e
1 changed files with 11 additions and 1 deletions
|
@ -501,7 +501,17 @@ (define-public linphoneqt
|
|||
(substitute* "src/app/AppController.cpp"
|
||||
(("LINPHONE_QT_GIT_VERSION")
|
||||
(format #f "~s" ,version)))
|
||||
#t)))))
|
||||
#t))
|
||||
(add-after 'install 'extend-shared-resources
|
||||
;; Not using the FHS exposes an issue where the client refers to
|
||||
;; its own "share" directory, which lacks sound files installed by
|
||||
;; liblinphone.
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((liblinphone (assoc-ref inputs "linphone"))
|
||||
(out (assoc-ref outputs "out")))
|
||||
(symlink (string-append liblinphone "/share/sounds")
|
||||
(string-append out "/share/sounds"))
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("qttools" ,qttools)))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue