Subject: [bug#31514] [PATCH 09/21] gnu: Add emacs-gif-screencast.

From: Pierre Neidhardt <[email-masked]>
Date: Fri, 1 Jun 2018 09:50:51 +0200

* gnu/packages/emacs.scm (emacs-gif-screencast): New variable.
---
 gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 303d0dcab..8484a31fe 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10776,3 +10776,32 @@ The package @code{emacs-bash-completion} is an optional dependency: if available
 @code{fish-completion-complete} can be configured to fall back on bash to further
 try completing.  See @code{fish-completion-fallback-on-bash-p}.")
     (license license:gpl3+)))
+
+(define-public emacs-gif-screencast
+  (package
+    (name "emacs-gif-screencast")
+    (version "20180309")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/Ambrevar/emacs-gif-screencast/archive/"
+             "825e606950ec842304bf75cf85baef707b853b03"
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1f83sdx4qj4g6byvbdq7aayissbcy5lqm43djp8h0lq455nf7jkc"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("scrot" ,scrot)
+       ("imagemagick" ,imagemagick)
+       ("gifsicle" ,gifsicle)))
+    (home-page
+     "https://github.com/Ambrevar/emacs-gif-screencast")
+    (synopsis "One-frame-per-action GIF recording")
+    (description
+     "Call @code{gif-screencast} to start a recording.
+A screenshot is taken for every user action.  Call
+@code{gif-screencast-stop} (<f9> by default) to finish recording and create
+the GIF result.")
+    (license license:gpl3+)))
-- 
2.17.0