mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-23 10:47:24 +01:00
gnu: emacs-telega: Fix 'patch-source' phase.
* gnu/packages/emacs-xyz.scm (emacs-telega)[#:phases]<patch-sources>: Add missing slash in ‘/bin’ when patching general commands. Also patch telega-vvnote.el. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
This commit is contained in:
parent
cf88c967af
commit
2086a6a335
1 changed files with 11 additions and 11 deletions
|
@ -26290,11 +26290,11 @@ (define-public emacs-telega
|
|||
(let* ((ffmpeg (assoc-ref inputs "ffmpeg"))
|
||||
(ffmpeg-bin (string-append ffmpeg "/bin/ffmpeg"))
|
||||
(ffplay-bin (string-append ffmpeg "/bin/ffplay")))
|
||||
(substitute* "telega-ffplay.el"
|
||||
(substitute* '("telega-ffplay.el" "telega-vvnote.el")
|
||||
(("(shell-command-to-string\|concat) \"(ffmpeg\|ffprobe)"
|
||||
all func cmd)
|
||||
(string-append func " \"" (assoc-ref inputs "ffmpeg")
|
||||
"bin/" cmd))
|
||||
"/bin/" cmd))
|
||||
(("\\(executable-find \"ffplay\"\\)")
|
||||
(string-append "(and (file-executable-p \"" ffplay-bin "\")"
|
||||
"\"" ffplay-bin "\")"))
|
||||
|
|
Loading…
Reference in a new issue