@@ -3039,3 +3039,37 @@ (define-public webp-pixbuf-loader
(synopsis "WebP GdkPixbuf loader library")
(description "Webp-pixbuf-loader is a WebP format loader of GdkPixbuf.")
(license license:lgpl2.0+)))
+
+(define-public libpanel
+ (package
+ (name "libpanel")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/libpanel/"
+ (version-major+minor version)
+ "/libpanel-" version ".tar.xz"))
+ (sha256
+ (base32 "1faa8wi3v12rmsb12njkp8f8034p737l0w4aqxky1j72ad15av8z"))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-gtk-update-icon-cache
+ (lambda _
+ (substitute* "meson.build"
+ (("gtk_update_icon_cache: true")
+ "gtk_update_icon_cache: false"))))
+ (add-after 'unpack 'set-fontconfig-home
+ (lambda _
+ (setenv "HOME" (getcwd)))))))
+ (inputs (list gtk glib-next libadwaita))
+ (native-inputs
+ (list pkg-config gobject-introspection (list glib "bin") vala gi-docgen))
+ (synopsis "Dock and panel widgets for GTK")
+ (description "Libpanel provides widgets for panels, docks, columns and grids of pages, as
+needed to implement IDEs.")
+ (home-page "https://gitlab.gnome.org/GNOME/libpanel")
+ (license license:lgpl3+)))