diff mbox series

[bug#72406,emacs-team,WIP,v4,19/24] gnu: emacspeak: Build variants.

Message ID 465f4ecda647a8b2951eeccb58f7363624471c8d.1723381183.git.liliana.prikler@gmail.com
State New
Headers show
Series Build variants for other Emacsen | expand

Commit Message

Liliana Marie Prikler Aug. 11, 2024, 12:58 p.m. UTC
* gnu/packages/emacs-xyz.scm (emacspeak)[properties]: Add ‘minimal-variant’,
‘next-variant’ and ‘pgtk-variant’.
(emacspeak-minimal, emacspeak-next, emacspeak-pgtk): New variables.
---
 gnu/packages/emacs-xyz.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f0fb00a697..22c21340bc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19296,7 +19296,29 @@  (define-public emacspeak
 information.  By seamlessly blending all aspects of the Internet such as
 Web-surfing and messaging, Emacspeak speech-enables local and remote
 information via a consistent and well-integrated user interface.")
-    (license license:gpl2+)))
+    (license license:gpl2+)
+    (properties
+     `((minimal-variant . ,(delay emacspeak-minimal))
+       (next-variant . ,(delay emacspeak-next))
+       (pgtk-variant . ,(delay emacspeak-pgtk))))))
+
+(define-public emacspeak-minimal
+  (package (inherit emacspeak)
+           (name "emacspeak-minimal")
+           (inputs (modify-inputs (package-inputs emacspeak)
+                     (replace "emacs" emacs-minimal)))))
+
+(define-public emacspeak-next
+  (package (inherit emacspeak)
+           (name "emacspeak-next")
+           (inputs (modify-inputs (package-inputs emacspeak)
+                     (replace "emacs" emacs-next)))))
+
+(define-public emacspeak-pgtk
+  (package (inherit emacspeak)
+           (name "emacspeak-pgtk")
+           (inputs (modify-inputs (package-inputs emacspeak)
+                     (replace "emacs" emacs-pgtk)))))
 
 (define-public emacs-adaptive-wrap
   (package