Browse Source

libfuse: add 3.17.1 (#6928)

* libfuse: add 3.17.1

* Update xmake.lua
star9029 4 months ago
parent
commit
8e6a139fc7
1 changed files with 10 additions and 6 deletions
  1. 10 6
      packages/l/libfuse/xmake.lua

+ 10 - 6
packages/l/libfuse/xmake.lua

@@ -1,18 +1,22 @@
 package("libfuse")
 package("libfuse")
-
     set_homepage("https://github.com/libfuse/libfuse")
     set_homepage("https://github.com/libfuse/libfuse")
     set_description("FUSE (Filesystem in Userspace) is an interface for userspace programs to export a filesystem to the Linux kernel.")
     set_description("FUSE (Filesystem in Userspace) is an interface for userspace programs to export a filesystem to the Linux kernel.")
     set_license("GPL-2.0")
     set_license("GPL-2.0")
 
 
+    add_urls("https://github.com/libfuse/libfuse/releases/download/fuse-$(version)/fuse-$(version).tar.gz",
+             "https://github.com/libfuse/libfuse.git")
+
     add_urls("https://github.com/libfuse/libfuse/releases/download/fuse-$(version)/fuse-$(version).tar.xz")
     add_urls("https://github.com/libfuse/libfuse/releases/download/fuse-$(version)/fuse-$(version).tar.xz")
+
+    add_versions("3.17.1", "2d8ae87a4525fbfa1db5e5eb010ff6f38140627a7004554ed88411c1843d51b2")
     add_versions("3.10.4", "9365b74fd8471caecdb3cc5adf25a821f70a931317ee9103d15bd39089e3590d")
     add_versions("3.10.4", "9365b74fd8471caecdb3cc5adf25a821f70a931317ee9103d15bd39089e3590d")
 
 
-    if is_plat("linux") then
-        add_extsources("apt::fuse3", "pacman::fuse3")
-        add_syslinks("pthread", "dl", "rt")
-    end
+    add_extsources("apt::fuse3", "pacman::fuse3")
+
+    add_syslinks("pthread", "dl", "rt")
+
+    add_deps("meson", "ninja")
 
 
-    add_deps("meson")
     on_install("linux", function (package)
     on_install("linux", function (package)
         local configs = {"-Dtests=false", "-Dexamples=false", "-Dutils=false"}
         local configs = {"-Dtests=false", "-Dexamples=false", "-Dutils=false"}
         table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))
         table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))