From fbaac3a73163aeeea7c9cfe8dfe64c8c876a0607 Mon Sep 17 00:00:00 2001 From: Ashvith Shetty Date: Sat, 28 Dec 2024 17:23:05 +0530 Subject: [PATCH] gnu: xfce4-pulseaudio-plugin: Switch to git source. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Signed-off-by: 宋文武 --- 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 e9e44df395..3520ceaba4 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