@@ -20,6 +20,7 @@
;;; Copyright © 2022 Sughosha <sughosha@proton.me>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;; Copyright © 2023 Eidvilas Markevičius <markeviciuseidvilas@gmail.com>
+;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1759,3 +1760,38 @@ (define-public tiramisu
notifications to STDOUT in order to allow the user to process notifications any
way they prefer.")
(license license:expat)))
+
+(define-public libpqmarble
+ (package
+ (name "libpqmarble")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.gnome.org/raggesilver/marble")
+ ;; Tag for v2.0.0 is currently missing, so use commit instead
+ (commit "f240b2ec7d5cdacb8fdcc553703420dc5101ffdb")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jx53yadqkcsfk9khkqmapznd8g9xg98wkgkigh964dj6gpp7fx1"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-gtk4-update-icon-cache
+ (lambda _
+ (substitute* "build-aux/meson/postinstall.py"
+ (("gtk-update-icon-cache")
+ "gtk4-update-icon-cache")))))))
+ (native-inputs (list pkg-config
+ vala
+ `(,gtk "bin") ;gtk4-update-icon-cache
+ `(,glib "bin") ;for glib-compile-schemas, etc.
+ desktop-file-utils ;for update-desktop-database
+ gobject-introspection))
+ (inputs (list gtk))
+ (home-page "https://gitlab.gnome.org/raggesilver/marble")
+ (synopsis "Utility library for GNOME apps")
+ (description "Utility library for GNOME apps.")
+ (license license:gpl3)))