[meson] enable cairo as subproject

This commit is contained in:
Ebrahim Byagowi 2020-07-01 01:30:13 +04:30
parent ea8e784146
commit aa8bade97e
6 changed files with 27 additions and 3 deletions

View File

@ -2,7 +2,7 @@
set -e
meson --cross-file=.ci/win32-cross-file.txt win32build --wrap-mode=forcefallback -Dtests=disabled \
-Dglib=enabled -Dfreetype=enabled -Dgdi=enabled $@
-Dglib=enabled -Dfreetype=enabled -Dgdi=enabled -Dcairo=enabled $@
ninja -Cwin32build -j8 # building with all the cores won't work fine with CricleCI for some reason
rm -rf win32build/harfbuzz-win32

View File

@ -6,4 +6,7 @@
/proxy-libintl
/zlib
/packagecache
/google-benchmark
/benchmark-1.4.1
/cairo
/pixman
/libpng-1.6.35

5
subprojects/cairo.wrap Normal file
View File

@ -0,0 +1,5 @@
[wrap-git]
directory=cairo
url=https://github.com/ebraminio/cairo.git
depth=1
revision=meson

10
subprojects/libpng.wrap Normal file
View File

@ -0,0 +1,10 @@
[wrap-file]
directory = libpng-1.6.35
source_url = https://github.com/glennrp/libpng/archive/v1.6.35.tar.gz
source_filename = libpng-1.6.35.tar.gz
source_hash = 6d59d6a154ccbb772ec11772cb8f8beb0d382b61e7ccc62435bf7311c9f4b210
patch_url = https://wrapdb.mesonbuild.com/v1/projects/libpng/1.6.35/5/get_zip
patch_filename = libpng-1.6.35-5-wrap.zip
patch_hash = da42b18e8d75a88615bdbc1c7bbf1f739ae19f63a8e70d96c90bc448326ae6b7

6
subprojects/pixman.wrap Normal file
View File

@ -0,0 +1,6 @@
[wrap-git]
directory=pixman
url=https://gitlab.freedesktop.org/pixman/pixman
push-url=git@gitlab.freedesktop.org:pixman/pixman.git
depth=1
revision=9b49f4e08751885289333fed652bf5e0f45976b4

View File

@ -2,4 +2,4 @@
directory=proxy-libintl
url=https://github.com/frida/proxy-libintl.git
depth=1
revision=0.1
revision=50bd2525261d44d80533a523873b9344a6d741c5