summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntero Mejr <antero@mailbox.org>2023-04-30 04:02:06 +0000
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-05-07 17:55:27 +0200
commit4c3532d7ab81a20e21d23bcf25e06999fcee2571 (patch)
treeec91b5b57d9e98c03cbb0d967655ad0daf96fa26
parent3fc284da69e64114b68075084a097bf3f2bc4aba (diff)
downloadguix-4c3532d7ab81a20e21d23bcf25e06999fcee2571.tar.gz
gnu: Add emacs-next-pgtk-xwidgets.
* gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/emacs.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7ae4f0cf51..abd62af75a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -459,6 +459,19 @@ languages.")
     (description "This Emacs build implements graphical UI purely in terms
 of GTK and supports tree-sitter.")))
 
+(define-public emacs-next-pgtk-xwidgets
+  (package
+    (inherit emacs-next-pgtk)
+    (name "emacs-next-pgtk-xwidgets")
+    (synopsis "Emacs text editor with @code{xwidgets} and @code{pgtk} support")
+    (arguments
+     (substitute-keyword-arguments (package-arguments emacs-next-pgtk)
+       ((#:configure-flags flags #~'())
+        #~(cons "--with-xwidgets" #$flags))))
+    (inputs
+     (modify-inputs (package-inputs emacs-next-pgtk)
+       (prepend gsettings-desktop-schemas webkitgtk-with-libsoup2)))))
+
 (define-public emacs-minimal
   ;; This is the version that you should use as an input to packages that just
   ;; need to byte-compile .el files.