Archived
1
0
Fork 0

gnu: emacs-subed: Update to 1.0.3.

* gnu/packages/emacs-xyz.scm (emacs-subed): Update to 1.0.3.
[source]: Use url-fetch.
[arguments]: Remove phase CHDIR-SUBED, enable tests.
[native-inputs]: Add EMACS-BUTTERCUP.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Jai Vetrivelan 2022-02-11 19:45:59 +05:30 committed by Nicolas Goaziou
parent 6b4fa09b5b
commit aff352a5f2
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -6200,34 +6200,31 @@ user.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-subed (define-public emacs-subed
;; XXX: Upstream does not tag releases. Commit below matches version bump. (package
(let ((commit "9a660ed88600e9aff741051c28a9e638cd5df5f5")) (name "emacs-subed")
(package (version "1.0.3")
(name "emacs-subed") (source (origin
(version "1.0.2") (method url-fetch)
(source (origin (uri (string-append "https://elpa.nongnu.org/nongnu/subed-"
(method git-fetch) version ".tar"))
(uri (git-reference (sha256
(url "https://github.com/sachac/subed") (base32
(commit commit))) "0wibakmp1lhfyr6sifb7f3jcqp2s5sy0z37ad9n1n9rhj5q8yhzg"))))
(file-name (git-file-name name version)) (arguments
(sha256 (list
(base32 #:tests? #t
"1biczfg8cl9sy02yx7nmf5ma7mdjsmi27v93x1gaw4zjwj8fmlkg")))) #:test-command #~(list "make" "test-only")))
(build-system emacs-build-system) (native-inputs
(arguments (list emacs-buttercup))
`(#:phases (modify-phases %standard-phases (build-system emacs-build-system)
(add-after 'unpack 'chdir-subed (home-page "https://elpa.nongnu.org/nongnu/subed.html")
(lambda _ (synopsis "Major mode for editing subtitles")
(chdir "subed")))))) (description
(home-page "https://elpa.nongnu.org/nongnu/subed.html") "@code{subed} is an Emacs major mode for editing subtitles while playing
(synopsis "Major mode for editing subtitles") the corresponding video with @code{mpv}. At the moment, the only supported
(description
"@code{subed} is an Emacs major mode for editing subtitles while
playing the corresponding video with mpv. At the moment, the only supported
formats are SubRip (@file{.srt}), WebVTT (@file{.vtt}), and Advanced formats are SubRip (@file{.srt}), WebVTT (@file{.vtt}), and Advanced
SubStation Alpha (@file{.ass}).") SubStation Alpha (@file{.ass}).")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public emacs-miniedit (define-public emacs-miniedit
(package (package