From abdca6f9e05418f36d97ef3d1685caf9f963ade9 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Mon, 16 Jan 2023 16:50:31 +0100 Subject: [PATCH] gnu: Add vte-with-gtk-4. * gnu/packages/gnome.scm (vte-with-gtk-4): New variable. --- gnu/packages/gnome.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 12ecfa068b..cd4715b545 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4634,6 +4634,15 @@ gnome-terminal, but can also be used to embed a console/terminal in games, editors, IDEs, etc.") (license license:lgpl2.1+))) +(define-public vte-with-gtk-4 + (package/inherit vte + (name "vte-with-gtk4") + (arguments (substitute-keyword-arguments (package-arguments vte) + ((#:configure-flags flags #~'()) + #~(cons* "-Dgtk4=true" "-Dgtk3=false" #$flags)))) + (propagated-inputs (modify-inputs (package-propagated-inputs vte) + (replace "gtk+" gtk))))) + (define-public vte-ng (package (inherit vte)