improve skia

pull/18/head
ruki 6 years ago
parent 4625b04db7
commit f7d8ea35a9
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 1
      .appveyor.yml
  2. 25
      PKGLIST.md
  3. 3
      packages/s/skia/xmake.lua

@ -1,4 +1,5 @@
os:
- Visual Studio 2017
- Visual Studio 2015
- Visual Studio 2013

@ -20,10 +20,10 @@
|libcurl|nlohmann_json|||gperf|||
|libev|pcre|||json-c|||
|libffi|pixman|||libcurl|||
|libiconv|sqlite3|||libev|||
|libjpeg|tbox|||libffi|||
|libmill|zlib|||libiconv|||
|libpng||||libjpeg|||
|libiconv|skia|||libev|||
|libjpeg|sqlite3|||libffi|||
|libmill|tbox|||libiconv|||
|libpng|zlib|||libjpeg|||
|libsdl||||libmill|||
|libtask||||libpng|||
|libuv||||libsdl|||
@ -38,17 +38,18 @@
|pcre||||meson|||
|pcre2||||mysql|||
|pixman||||nasm|||
|sqlite3||||ncurses|||
|tbox||||ninja|||
|util-linux||||nlohmann_json|||
|x264||||openssl|||
|x265||||patch|||
|xz||||pcre|||
|zlib||||pcre2|||
|||||pixman|||
|skia||||ncurses|||
|sqlite3||||ninja|||
|tbox||||nlohmann_json|||
|util-linux||||openssl|||
|x264||||patch|||
|x265||||pcre|||
|xz||||pcre2|||
|zlib||||pixman|||
|||||pkg-config|||
|||||python|||
|||||python2|||
|||||skia|||
|||||sqlite3|||
|||||tbox|||
|||||util-linux|||

@ -29,6 +29,7 @@ package("skia")
add_includedirs("include/third_party")
add_includedirs("include/utils")
-- @note windows: only can build for vs2017 or vs2015 update 3
on_install("macosx", "linux", "windows", function (package)
local pathes = os.getenv("PATH") or ""
pathes = pathes .. path.envsep() .. path.join(os.curdir(), "depot_tools")
@ -65,7 +66,7 @@ package("skia")
os.vrun("bin/gn gen build --args='%s'", argstr:trim())
os.vrun("ninja -C build")
os.cp("include", package:installdir())
os.cp("third_party", package:installdir())
os.cp("third_party/skcms/*.h", package:installdir("third_party/skcms"))
if is_plat("windows") then
os.cp("build/*.lib", package:installdir("lib"))
else

Loading…
Cancel
Save