Subject: [bug#75146] [PATCH v4 25/68] gnu: thunar-shares-plugin: Switch to git source.

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

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

* gnu/packages/xfce.scm (thunar-shares-plugin)[source]: Switch to git-fetch.
[native-inputs]: Add xfce4-dev-tools.
[home-page]: Set to docs.xfce.org.

Change-Id: Ifff0e53899a4b748c408c711768695d627a22815
---
 gnu/packages/xfce.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index fce53a764d..1424fd8893 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -881,16 +881,18 @@ (define-public thunar-shares-plugin
     (version "0.3.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://archive.xfce.org/src/thunar-plugins/"
-                           name "/" (version-major+minor version)
-                           "/" name "-" version ".tar.bz2"))
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/thunar-plugins/"
+                                 name))
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "01rzmjj673sjhzkdh24d8bha57dbahycb44hlr4zld0mr7kda28h"))))
+        (base32 "0agq4f16mlrri84n81wgrhipvg55gh527jw42wiv6ac9vnqlcnw8"))))
     (build-system gnu-build-system)
-    (native-inputs (list pkg-config intltool))
+    (native-inputs (list xfce4-dev-tools))
     (inputs (list thunar gtk+))
-    (home-page "https://www.xfce.org/")
+    (home-page "https://docs.xfce.org/xfce/thunar/thunar-shares-plugin")
     (synopsis "Folder share plugin for Thunar file manager")
     (description
      "The Thunar Shares Plugin allows you to quickly share a folder using
-- 
2.46.0