Subject: [bug#75146] [PATCH v1 15/15] gnu: xfce4-pulseaudio-plugin: Update variable fields.

From: Ashvith Shetty <[email-masked]>
Date: Sat, 28 Dec 2024 17:23:05 +0530

From: Ashvith Shetty <[email-masked]>

* gnu/packages/xfce.scm (xfce4-pulseaudio-plugin):
[source]: Update to XFCE's GitLab URL.
[home-page]: Set to docs.xfce.org.
[arguments]: Set configure flag "--enable-maintainer-mode".
[native-inputs]: Add autoconf, automake, gtk-doc, libtool and
xfce4-dev-tools.
Remove  pavucontrol.

Change-Id: Ib633e09831f195d03e4c1a1ed4c7d6e080595b5e
---
 gnu/packages/xfce.scm | 44 ++++++++++++++++++++++++++-----------------
 1 file changed, 27 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 541fd8426d..151cdd37d9 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -604,25 +604,35 @@ (define-public xfce4-pulseaudio-plugin
     (version "0.4.9")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://archive.xfce.org/src/panel-plugins/"
-                           "xfce4-pulseaudio-plugin/"
-                           (version-major+minor version) "/"
-                           "xfce4-pulseaudio-plugin-" version ".tar.bz2"))
+       (method git-fetch)
+       (uri (git-reference
+             (url
+              "https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "16n9vnzwi1j90yxcf4c0lkyqkl969yj6hiby3cvd0j18zcapd050"))))
+        (base32 "1hmajys3g56xlpja9hx0rvap54bw0g6vmirh068zn5004wg7i6kc"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list intltool pkg-config dbus-glib dbus))
-    (inputs
-     (list exo
-           keybinder
-           libnotify
-           libxfce4ui
-           pavucontrol
-           pulseaudio
-           xfce4-panel))
-    (home-page "https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/")
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")))
+    (native-inputs (list autoconf
+                         automake
+                         dbus
+                         dbus-glib
+                         gtk-doc
+                         intltool
+                         libtool
+                         pkg-config
+                         xfce4-dev-tools))
+    (inputs (list exo
+                  keybinder
+                  libnotify
+                  libxfce4ui
+                  pulseaudio
+                  xfce4-panel))
+    (home-page
+     "https://docs.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/")
     (synopsis "PulseAudio panel plugin for Xfce")
     (description
      "Xfce PulseAudio plugin is a plugin for the Xfce panel which provides a
-- 
2.46.0