Ver Fonte

Add linux pacman add_extsources for wayland-protocols (#853)

Arthapz há 3 anos atrás
pai
commit
dd28154578
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      packages/w/wayland-protocols/xmake.lua

+ 4 - 0
packages/w/wayland-protocols/xmake.lua

@@ -8,6 +8,10 @@ package("wayland-protocols")
 
 
     add_deps("meson", "ninja", "wayland", "pkg-config")
     add_deps("meson", "ninja", "wayland", "pkg-config")
 
 
+    if is_plat("linux") then 
+        add_extsources("pacman::wayland-protocols")
+    end
+
     on_install("linux", function (package)
     on_install("linux", function (package)
         local configs = {}
         local configs = {}
         table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))
         table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))