summary refs log tree commit diff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-01-16 16:50:31 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-01-29 08:20:36 +0100
commitabdca6f9e05418f36d97ef3d1685caf9f963ade9 (patch)
treee3502f76778a385af3ad4bc8655e0bbc0f4fd8fe
parenta38903ece62399129cbec422ab42ad0407e09980 (diff)
downloadguix-abdca6f9e05418f36d97ef3d1685caf9f963ade9.tar.gz
gnu: Add vte-with-gtk-4.
* gnu/packages/gnome.scm (vte-with-gtk-4): New variable.
-rw-r--r--gnu/packages/gnome.scm9
1 files changed, 9 insertions, 0 deletions
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)