improve fontconfig

pull/3/head
ruki 6 years ago
parent e2148af985
commit 8f4b97d3cc
  1. 4
      packages/f/fontconfig/xmake.lua
  2. 5
      packages/f/freetype/xmake.lua

@ -6,8 +6,8 @@ package("fontconfig")
set_urls("https://www.freedesktop.org/software/fontconfig/release/fontconfig-$(version).tar.gz")
add_versions("2.13.1", "9f0d852b39d75fc655f9f53850eb32555394f36104a044bb2b2fc9e66dbbfa7f")
add_deps("freetype")
add_deps("pkg-config", "freetype >= 2.9")
on_install("linux", "macosx", function (package)
import("package.tools.autoconf").install(package)
import("package.tools.autoconf").install(package, {"--disable-dependency-tracking", "--disable-silent-rules", "--enable-static"})
end)

@ -7,8 +7,9 @@ package("freetype")
set_urls("https://github.com/ubawurinna/freetype-windows-binaries/releases/download/v$(version)/freetype-$(version).zip")
add_versions("2.9.1", "5238a18447b6611e8838d23c42174e5429b730b91c5aa3747b3eb4e3fc0720a7")
else
set_urls("https://download.savannah.gnu.org/releases/freetype/freetype-$(version).tar.gz")
add_versions("2.9.1", "ec391504e55498adceb30baceebd147a6e963f636eb617424bcfc47a169898ce")
set_urls("https://downloads.sourceforge.net/project/freetype/freetype2/$(version)/freetype-$(version).tar.bz2",
"https://download.savannah.gnu.org/releases/freetype/freetype-$(version).tar.bz2")
add_versions("2.9.1", "db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d")
end
on_install("windows", function (package)

Loading…
Cancel
Save