AtlatestRepositorylantern

lantern / treegl-manifest.scm

1;; Graphics stack for running a Lantern window (GTK4 + WebKitGTK 6.0 over the
2;; Mesa GL/Vulkan drivers). Use ephemerally:
3;;
4;; guix shell -m gl-manifest.scm -- bash -c \
5;; 'LD_LIBRARY_PATH="$GUIX_ENVIRONMENT/lib" \
6;; ./build/native/bin/lantern run <web-build-dir> --title Slate'
7;;
8;; GTK4 will not map a window unless the Mesa GL/Vulkan drivers are on
9;; LD_LIBRARY_PATH (Guix does not populate it) — hence the LD_LIBRARY_PATH above.
10;; Add LANTERN_SOFTWARE_RENDER=1 if the compositor/GL path misbehaves.
11(specifications->manifest
12 (list "gtk"
13 "webkitgtk"
14 "glib"
15 "glib-networking"
16 "mesa"
17 "libglvnd"
18 "pkg-config"))