Subject: [bug#75146] [PATCH v4 46/68] gnu: xfce4-volumed-pulse: Update to 0.2.5.

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

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

* gnu/packages/xfce.scm (xfce4-volumed-pulse): Update to 0.2.5.
[source]: Switch to git-fetch.
[native-inputs]: Add xfce4-dev-tools.
[home-page]: Set to gitlab.xfce.org.

Change-Id: Ifc8015a5ec9a076b8a953635e99cbc76cfa315f5
---
 gnu/packages/xfce.scm | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 4fd927268c..bbc2f90195 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1661,21 +1661,22 @@ (define-public xfce4-screensaver
 (define-public xfce4-volumed-pulse
   (package
     (name "xfce4-volumed-pulse")
-    (version "0.2.4")
-    (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
-                "0ql3hlciffjs981jp21hg6phrk25crh64yc01fm0l75k4vvf66d0"))))
+    (version "0.2.5")
+    (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 "0vr20rm81kd0av85zvfghzbczs4ahkxi1n4qn4hikqnb67iwrcq3"))))
     (build-system glib-or-gtk-build-system)
     (native-inputs
-     (list intltool pkg-config))
+     (list xfce4-dev-tools))
     (inputs
      (list xfconf libnotify pulseaudio keybinder-3.0 gtk+))
-    (home-page "https://goodies.xfce.org/projects/applications/xfce4-volumed")
+    (home-page "https://gitlab.xfce.org/apps/xfce4-volumed-pulse")
     (synopsis "XFCE volume keys daemon")
     (description
      "This is a volume keys control daemon for Xfce Desktop environment. It controls
-- 
2.46.0