gnu: Add emacs-xwidgets.

* gnu/packages/emacs.scm (emacs-xwidgets): new variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Arne Babenhauserheide 2019-01-18 23:29:14 +01:00 committed by Ludovic Courtès
parent e6b065b299
commit 5bbb04f9d1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 17 additions and 0 deletions

View File

@ -59,6 +59,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix utils)
@ -210,6 +211,22 @@ languages.")
(native-inputs
`(("pkg-config" ,pkg-config)))))
(define-public emacs-xwidgets
(package
(inherit emacs)
(name "emacs-xwidgets")
(synopsis "The extensible, customizable, self-documenting text
editor (with xwidgets support)")
(build-system gnu-build-system)
(arguments
`(#:configure-flags
'("--with-xwidgets")
,@(package-arguments emacs)))
(inputs
`(("webkitgtk" ,webkitgtk)
("libxcomposite" ,libxcomposite)
,@(package-inputs emacs)))))
(define-public emacs-no-x
(package (inherit emacs)
(name "emacs-no-x")