summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2025-11-04 08:42:20 -0500
committerjgart <jgart@dismail.de>2025-11-05 11:00:04 -0600
commit41a983eb9899d45eeccad7913219ce2da5669928 (patch)
tree8c7b6e3caa9d8aedf520a1f0192a5229ca7baaad /gnu
parent09d85a13a2ed11fe4784b24ca879007b008b569a (diff)
gnu: Add gtk4-layer-shell.
+ gnu/packages/gtk (gtk4-layer-shell): New variable. Change-Id: I361fbb848e774e76c4a08b39e7d972a217afd2bb Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gtk.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index d73b1a28e33..54b9512a89d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2883,6 +2883,37 @@ entire output. It supports all Layer Shell features including popups and
popovers.")
(license license:expat)))
+(define-public gtk4-layer-shell
+ (package
+ (name "gtk4-layer-shell")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wmww/gtk4-layer-shell")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xs5w8yvkfw4zp326ddnxcrxrb2fcd0zsn0yl8wmjn9c8lnnrrnq"))))
+ (build-system meson-build-system)
+ (arguments
+ ;; Smoke tests are disabled because they hang.
+ (list #:configure-flags
+ #~(list "-Dtests=true" "-Dsmoke-tests=false")))
+ (native-inputs (list pkg-config gobject-introspection vala))
+ (inputs (list wayland gtk))
+ (home-page "https://github.com/wmww/gtk-layer-shell")
+ (synopsis "Library to create Wayland desktop components using the Layer
+Shell protocol")
+ (description
+ "Layer Shell is a Wayland protocol for desktop shell
+components, such as panels, notifications and wallpapers. It can be used to
+anchor windows to a corner or edge of the output, or stretch them across the
+entire output. It supports all Layer Shell features including popups and
+popovers.")
+ (license license:expat)))
+
(define-public goocanvas
(package
(name "goocanvas")