Kaynağa Gözat

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

Arthapz 3 yıl önce
ebeveyn
işleme
dd28154578
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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")
 
+    if is_plat("linux") then 
+        add_extsources("pacman::wayland-protocols")
+    end
+
     on_install("linux", function (package)
         local configs = {}
         table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))