From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 59000@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#59000] [PATCH 2/2] gnu: Add emacs-waveform.
Date: Thu, 3 Nov 2022 13:09:55 -0500 [thread overview]
Message-ID: <20221103180955.14695-2-jgart@dismail.de> (raw)
In-Reply-To: <20221103180955.14695-1-jgart@dismail.de>
* gnu/packages/emacs-xyz.scm (emacs-waveform): New variable.
---
gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c2942c5b79..6fba8e6db8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33736,6 +33736,42 @@ (define-public emacs-mpv
process via its IPC interface.")
(license license:gpl3+))))
+(define-public emacs-waveform
+ (let ((commit "ee52c6a72b3e9890743e3a6e2fc1f3195f5687b2")
+ (revision "0"))
+ (package
+ (name "emacs-waveform")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sachac/waveform-el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cxyvp2aav27znc7mf6c83q5pddpdniaqkrxn1r8dbgr540qmnpn"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #f ; There are no tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'set-waveform-el-version 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "lisp/waveform-el-sequence.el")
+ (emacs-substitute-variables "waveform.el"
+ ("waveform-ffmpeg-executable"
+ (search-input-file inputs "/bin/ffmpeg"))))))))
+ (inputs (list ffmpeg))
+ (propagated-inputs (list emacs-mpv))
+ (home-page "https://github.com/sachac/waveform-el/")
+ (synopsis "Display a waveform and use it to navigate")
+ (description
+"This package displays a waveform of a sound file. It is intended to
+be used with @code{emacs-mpv}")
+ (license license:gpl3+))))
+
(define-public emacs-project-x
;; There is no proper release.
;; The base version is extracted from the README.org.
--
2.38.1
next prev parent reply other threads:[~2022-11-03 18:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-03 18:08 [bug#59000] [PATCH 1/2] gnu: Add emacs-waveform jgart via Guix-patches via
2022-11-03 18:09 ` [bug#59000] [PATCH 1/2] gnu: Add emacs-mpv jgart via Guix-patches via
2022-11-03 18:09 ` jgart via Guix-patches via [this message]
2022-11-03 18:14 ` [bug#59000] [PATCH v2 " jgart via Guix-patches via
2022-11-03 18:15 ` [bug#59000] [PATCH v2 2/2] gnu: Add emacs-waveform jgart via Guix-patches via
2022-11-06 14:13 ` [bug#59000] [PATCH v2 1/2] gnu: Add emacs-mpv Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221103180955.14695-2-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=59000@debbugs.gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).