Subject: [PATCH 1/2] gnu: Add libpqmarble.

From: Ashvith Shetty <[email-masked]>
Date: Wed, 4 Sep 2024 11:10:57 +0530

* gnu/packages/gnome-xyz.scm (libpqmarble-2.0.0): New public variable.

Change-Id: I6a74b7d34edd0c293850bc26d6f0043477b995be
---
 gnu/packages/gnome-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index a09c0befb0..99e4236ff7 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2022 Sughosha <[email-masked]>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <[email-masked]>
 ;;; Copyright © 2023 Eidvilas Markevičius <[email-masked]>
+;;; Copyright © 2024 Ashvith Shetty <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1759,3 +1760,39 @@ (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
+                    ;; Remove this if the commit is assigned proper version tag
+                    (commit "f240b2ec7d5cdacb8fdcc553703420dc5101ffdb")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0jx53yadqkcsfk9khkqmapznd8g9xg98wkgkigh964dj6gpp7fx1"))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:glib-or-gtk? #t
+           #:tests? #t))
+    ;; Unsure about whether these dependencies should go in simply `inputs`,
+    ;; `native-inputs` or `propagated-inputs`. Requesting inputs from GTK
+    ;; application maintainers.
+    (native-inputs
+      (list
+        gtk
+        `(,gtk+ "bin")               ; gtk-update-icon-cache
+        `(,glib "bin")               ; for glib-compile-schemas, etc.
+        gobject-introspection
+        desktop-file-utils           ; for update-desktop-database
+        pkg-config
+        vala))
+    (home-page "https://wiki.gnome.org/Apps/Recipes")
+    (synopsis "Utility library for GNOME apps")
+    (description "Utility library for GNOME apps.")
+    (license license:gpl3)))
-- 
2.45.2