guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#75146] [PATCH v3 14/16] gnu: xfce4-pulseaudio-plugin: Switch to git


From: iyzsong
Subject: [bug#75146] [PATCH v3 14/16] gnu: xfce4-pulseaudio-plugin: Switch to git source.
Date: Mon, 30 Dec 2024 22:21:59 +0800

From: Ashvith Shetty <Ashvith@noreply.codeberg.org>

* gnu/packages/xfce.scm (xfce4-pulseaudio-plugin)[source]: Switch to git-fetch.
[home-page]: Set to docs.xfce.org.
[arguments]: Add "--enable-maintainer-mode" to configure-flags.
[native-inputs]: Add xfce4-dev-tools.
[inputs]: Remove pavucontrol.

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

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index d065020f9a..167002d3cb 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -548,25 +548,29 @@ (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 dbus
+                         dbus-glib
+                         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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]