Subject: [PATCH v4 32/68] gnu: parole: Update to 4.18.2.

From: [email-masked]
Date: Tue, 31 Dec 2024 14:44:02 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/xfce.scm (parole): Update to 4.18.2.
[source]: Switch to git-fetch.
[native-inputs]: Add xfce4-dev-tools.
[inputs]: Remove glib:bin.
[home-page]: Set to docs.xfce.org.

Change-Id: Ida4ad17e4990b62ab63a83e49ad5660382b0ba41
---
 gnu/packages/xfce.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index eb5fdb0c3b..c2c53c68d4 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1140,15 +1140,17 @@ (define-public gigolo
 (define-public parole
   (package
     (name "parole")
-    (version "4.18.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/apps/"
-                                  name "/" (version-major+minor version) "/"
-                                  name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "0rjsqm582c8i3lyi1n2ghp638cr0chw358i05g7njbw1hjj68wqc"))))
+    (version "4.18.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/apps/"
+                                 name))
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1yzqry3pbgn413nflw7a8cm3xdq96w5pj41b04p5drr7qs44d1qb"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -1165,11 +1167,10 @@ (define-public parole
                   #:sh (search-input-file inputs "bin/bash")
                   `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))))))))
     (native-inputs
-     (list pkg-config intltool gobject-introspection))
+     (list gobject-introspection xfce4-dev-tools))
     (inputs
      (list bash-minimal                           ;for 'wrap-program'
            dbus-glib
-           (list glib "bin")
            gstreamer
            gst-plugins-base
            gst-plugins-good
@@ -1177,7 +1178,7 @@ (define-public parole
            libxfce4ui
            libxfce4util
            taglib))
-    (home-page "https://www.xfce.org/")
+    (home-page "https://docs.xfce.org/apps/parole/")
     (synopsis "Media player based on the GStreamer framework")
     (description "Parole is a modern simple media player based on the
 GStreamer framework and written to fit well in the Xfce desktop.  Parole
-- 
2.46.0