Skip to content

Commit 7770d29

Browse files
authored
Merge b6a1085 into fd213d1
2 parents fd213d1 + b6a1085 commit 7770d29

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

build.win64x64/third-party/Makefile.freetype2

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
ifndef THIRDPARTYDIR
44
include ../common/Makefile.lib.extra
55
endif
6-
include ../../third-party/freetype2.spec.win64
6+
include ../../third-party/freetype2.spec
77

8-
MINGWLIBDIR:=/usr/x86_64-w64-mingw32/sys-root/mingw/bin
8+
EXTERNALFILESURL:=https://files.pharo.org/vm/pharo-spur64/win/third-party
99
FREETYPE2LIBNAME:=$(freetype2_spec_product_name_windows)
1010
FREETYPE2LIB:=$(THIRDPARTYINSTALLDIR)/$(FREETYPE2LIBNAME)
1111

12-
$(FREETYPE2LIB): pkgconfig libpng $(MINGWLIBDIR)/$(FREETYPE2LIBNAME)
13-
cp -f $(MINGWLIBDIR)/$(FREETYPE2LIBNAME) $(THIRDPARTYINSTALLDIR)
12+
$(THIRDPARTYLIBDIR)/$(FREETYPE2LIBNAME):
13+
echo
14+
$(WGET) -O $(THIRDPARTYLIBDIR)/$(FREETYPE2LIBNAME) $(EXTERNALFILESURL)/$(FREETYPE2LIBNAME)
1415

15-
freetype2: $(FREETYPE2LIB)
16+
$(FREETYPE2LIB): pkgconfig libpng $(THIRDPARTYLIBDIR)/$(FREETYPE2LIBNAME)
17+
cp -f $(THIRDPARTYLIBDIR)/$(FREETYPE2LIBNAME) $(THIRDPARTYINSTALLDIR)
18+
19+
freetype2: $(FREETYPE2LIB)

third-party/freetype2.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
freetype2_spec_download_url:=http://ftp.igh.cnrs.fr/pub/nongnu/freetype/freetype-2.6.5.tar.gz
2-
freetype2_spec_archive_name:=freetype-2.6.5.tar.gz
3-
freetype2_spec_unpack_dir_name:=freetype-2.6.5
1+
freetype2_spec_download_url:=http://ftp.igh.cnrs.fr/pub/nongnu/freetype/freetype-2.9.1.tar.gz
2+
freetype2_spec_archive_name:=freetype-2.9.1.tar.gz
3+
freetype2_spec_unpack_dir_name:=freetype-2.9.1
44
freetype2_spec_product_name_macOS:=libfreetype.6.dylib
55
freetype2_spec_product_name_linux:=
66
freetype2_spec_product_name_windows:=libfreetype.dll

0 commit comments

Comments
 (0)