improve python deps

pull/49/head
ruki 5 years ago
parent dab4f7f3da
commit 5448ae352e
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/m/meson/xmake.lua
  2. 2
      packages/n/ninja/xmake.lua
  3. 2
      packages/o/opencv/xmake.lua
  4. 2
      packages/s/skia/xmake.lua

@ -8,7 +8,7 @@ package("meson")
"https://github.com/mesonbuild/meson.git")
add_versions("0.50.1", "f68f56d60c80a77df8fc08fa1016bc5831605d4717b622c96212573271e14ecc")
add_deps("ninja", "python 3.x")
add_deps("ninja", "python 3.x", {kind = "binary"})
on_install("@macosx", "@linux", "@windows", function (package)
local version = package:dep("python"):version()

@ -17,7 +17,7 @@ package("ninja")
end
if is_host("linux") then
add_deps("python2")
add_deps("python2", {kind = "binary"})
end
on_install("@windows", function (package)

@ -9,7 +9,7 @@ package("opencv")
add_versions("4.2.0", "9ccb2192d7e8c03c58fee07051364d94ed7599363f3b0dce1c5e6cc11c1bb0ec")
add_versions("3.4.9", "b7ea364de7273cfb3b771a0d9c111b8b8dfb42ff2bcd2d84681902fb8f49892a")
add_deps("cmake", "python 3.x")
add_deps("cmake", "python 3.x", {kind = "binary"})
if is_plat("macosx") then
add_frameworks("Foundation", "CoreFoundation", "CoreGraphics", "AppKit", "OpenCL")

@ -8,7 +8,7 @@ package("skia")
add_versions("68046c", "68046cd7be837bd31bc8f0e821a2f82a02dda9cf")
add_deps("python2", "ninja")
add_deps("python2", "ninja", {kind = "binary"})
add_links("skia")
add_includedirs("include")

Loading…
Cancel
Save